Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 318397

Summary: Caching in EclipseSourceType is too aggressive
Product: [Tools] AspectJ Reporter: Andrew Clement <aclement>
Component: CompilerAssignee: aspectj inbox <aspectj-inbox>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P3    
Version: DEVELOPMENT   
Target Milestone: 1.6.9   
Hardware: PC   
OS: Windows 7   
Whiteboard:

Description Andrew Clement CLA 2010-06-29 20:15:57 EDT
In fixing a recent Roo related issue (where annotations are resolved too early, before declare parents are done) a cache was introduced into EclipseSourceType (see ensureAnnotationTypesResolved()).  The cache needs to be cleared if the set of annotation declarations changes - this can occur even after parsing because declare annotation can change them.
Comment 1 Andrew Clement CLA 2010-07-06 15:23:31 EDT
was fixed in 1.6.9