Bug 265072 - [ataspectj] annotation style percflow aspect clashes with other cflow pointcuts
Summary: [ataspectj] annotation style percflow aspect clashes with other cflow pointcuts
Status: RESOLVED FIXED
Alias: None
Product: AspectJ
Classification: Tools
Component: Compiler (show other bugs)
Version: DEVELOPMENT   Edit
Hardware: PC Windows NT
: P3 normal (vote)
Target Milestone: 1.6.4   Edit
Assignee: aspectj inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-02-16 20:50 EST by Andrew Clement CLA
Modified: 2009-02-17 15:43 EST (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Andrew Clement CLA 2009-02-16 20:50:34 EST
If an annotation style aspect uses percflow and also the pointcuts within the aspect use cflow there is a clash and two ajc$preClinit methods are created.  This is because the annotation style percflow isn't clever enough to check if someone has already created one.  See 

https://bugs.eclipse.org/bugs/show_bug.cgi?id=233032#c9

Raising this bug to mark the fix as having been put into 1.6.4 whilst 233032 continues as a placeholder for any problems with bridge methods in annotation style.
Comment 1 Andrew Clement CLA 2009-02-16 21:00:47 EST
test and fix are in.
Comment 2 Andrew Clement CLA 2009-02-17 15:43:20 EST
forgot to close it!