Bug reports
Renze Torensma
renzetorensma at gmail.com
Tue Apr 7 22:04:53 UTC 2015
Hi Christian,
I understand the issue and cleaning the project isn’t a big of a deal, only downside is that a new build takes quite long because of all the project I have in my workspace..
I will keep you informed about my progress, I expect to post to the mailinglist quite often from now on because I find it very helpful (and definately better than thinking about it for hours without really making progress)
Renze
> On 7 apr. 2015, at 19:35, Christian Humer <christian.humer at gmail.com> wrote:
>
> Hi Renze,
>
> As you realized some changes are not propagated in the eclipse Java compiler properly. For example changing the type system does not automatically rebuild all nodes that use the type system. Or changing annotations in a base class does not always trigger a rebuild of derived nodes.
>
> Since there is no API to force recompilation for other Java classes in the annotation processor API we would need to hack eclipse JDT to solve this. Its likely that a full solution to this would be rather complex and hacky. So at least for the short term we have to live with the clean and rebuild workaround.
>
> Thanks for the report.
>
> Good luck with your project. Let us know about your progress.
>
> - Christian Humer
>> On 07.04.2015 19:12:05, Renze Torensma <renzetorensma at gmail.com> wrote:
>>
>> Hi Christian,
>>
>> Cleaning the project solves the errors, so that workaround is okay for me. These errors can also be triggered when changing the names of NodeChildren, for example in SLBinaryNode.
>>
>> I recently started fresh with the latest revision of Graal etc so I just set up the repo at https://github.com/renzet/TruffleRascal <https://github.com/renzet/TruffleRascal>, but as I said I can also trigger it in SimpleLanguage.
>>
>> Thanks,
>> Renze
>>
>>> On 7 apr. 2015, at 17:17, Christian Humer <christian.humer at gmail.com <mailto:christian.humer at gmail.com>> wrote:
>>>
>>> Hi Renze,
>>>
>>> Bugs may be reported here: https://bugs.openjdk.java.net/browse/graal <https://bugs.openjdk.java.net/browse/graal>
>>> Alternatively we can also skip the bug system and I can directly help you here on the mailing list.
>>>
>>> Regarding your issue: this looks very much like a bug. Usually cleaning and rebuilding your project should lead to the same result as building your project incrementally (change a single file). Are your sources available somewhere?
>>>
>>> - Christian Humer
>>>> On 07.04.2015 17:09:27, Renze Torensma <renzetorensma at gmail.com <mailto:renzetorensma at gmail.com>> wrote:
>>>>
>>>> Is there a place where we can file or discuss bugs?
>>>>
>>>> For example, when I change something in my type system all nodes that use that type system produce the error "The used type system 'truffle.types.RascalTypes' is invalid. Fix errors in the type system first.”. Changing something in the file and reverting that change and save the file fixes the problem, but doing this for all node files takes a long time and can become frustrating..
>>
More information about the graal-dev
mailing list