Bug 377130

Summary: annotations lost when put on privileged aspects
Product: [Tools] AspectJ Reporter: Andrew Clement <aclement>
Component: CompilerAssignee: aspectj inbox <aspectj-inbox>
Status: NEW --- QA Contact:
Severity: normal    
Priority: P3    
Version: DEVELOPMENT   
Target Milestone: ---   
Hardware: PC   
OS: Mac OS X - Carbon (unsup.)   
Whiteboard:

Description Andrew Clement CLA 2012-04-18 19:38:49 EDT
If I annotate an aspect

@Anno
aspect Foo {}

then Foo will have @Anno on it if I reflectively inspect it.

If I annotate a privileged aspect

@Anno
privileged aspect Foo {}

then Foo will not have @Anno - it appears the addition of the privileged marker on the type is damaging/removing @Anno