Summary: | [waiting-on-build] [iajc.task] java.lang.RuntimeException: Ranges must be updated with an enclosing instructionList | ||||||||
---|---|---|---|---|---|---|---|---|---|
Product: | [Tools] AspectJ | Reporter: | shahzad bhatti <bhatti> | ||||||
Component: | Compiler | Assignee: | Andrew Clement <aclement> | ||||||
Status: | RESOLVED FIXED | QA Contact: | |||||||
Severity: | major | ||||||||
Priority: | P2 | ||||||||
Version: | unspecified | ||||||||
Target Milestone: | 1.5.0RC1 | ||||||||
Hardware: | PC | ||||||||
OS: | Linux | ||||||||
Whiteboard: | |||||||||
Attachments: |
|
Description
shahzad bhatti
2005-09-15 09:57:46 EDT
Passing over to AspectJ It is blowing up whilst processing the shadow for a constructor call - is there anyway we can have the rest of the iajc output? At the top of the input it looks it was truncated so you just added the exception trace to the bug report - but if you include the earlier stuff (where the "| method-call" stuff is), I may be able to see what went wrong. Is it at all possible that you could attach the AdminUserMB class and the aspect you used on it? Created attachment 27178 [details]
Class that is failing to compile
Created attachment 27179 [details]
Aspect
Looks like a compiler bug, not an ant task bug. Let me know if I can help. We have recently added extra diagnostics to AspectJ that will give us more context about a failure when the compiler goes bang. Can you possibly download the latest dev build and recreate this? Hopefully the exception produced will be more informative. moving to P2 I've been trying to recreate this. I can use the aspect just about as is - but the AdminUserDB class just has too many dependencies. I created a cut down version but can't get a failure. Is it still failing for you? Please can you try it with the most recent compiler version and include *all* the output here so I can see exactly which constructor-call shadow is causing the problem? I really want to fix this for 1.5 - but if I can't recreate it, theres nothing I can do. What would also be helpful is to try trimming down the code in the AdminUserDB class and see when the error suddenly disappears. or if you could supply me all the dependencies for that class (the orbitz stuff) then I can try harder to recreate it here. I've recreated this (woohoo) using the comment on bug 93489. I'll work on it tmrw. Fix for this is checked in. fix available. |