Summary: | AspectJ enhanced code can not be used with plain old java anymore | ||||||
---|---|---|---|---|---|---|---|
Product: | [Tools] AspectJ | Reporter: | Arno <A> | ||||
Component: | Compiler | Assignee: | Jim Hugunin <jim-aj> | ||||
Status: | RESOLVED FIXED | QA Contact: | |||||
Severity: | blocker | ||||||
Priority: | P2 | ||||||
Version: | 1.1.1 | ||||||
Target Milestone: | 1.2 | ||||||
Hardware: | PC | ||||||
OS: | Windows XP | ||||||
Whiteboard: | |||||||
Attachments: |
|
Description
Arno
2003-10-28 11:25:13 EST
Created attachment 6572 [details]
sample File with two projects (*.zip)
Verified. This used to work in AspectJ 1.1.0. The change in behaviour seems to be a direct consequence of the fix for bug 41123. Now, introduced methods have the "Synthetic" attribute added to them in the constant pool and it seems to cause the observed breakage. Looks like some additional checking is required before adding the attribute ? This bug can also be observed in interfaces (see bug #43972), which I believe is the same bug. Fixed based on patch from George Harley. The fix is not to put the Synthetic attribute on these generated methods so that they can be seen by standard Java compilers. |