Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 318397 - Caching in EclipseSourceType is too aggressive
Summary: Caching in EclipseSourceType is too aggressive
Status: RESOLVED FIXED
Alias: None
Product: AspectJ
Classification: Tools
Component: Compiler (show other bugs)
Version: DEVELOPMENT   Edit
Hardware: PC Windows 7
: P3 normal (vote)
Target Milestone: 1.6.9   Edit
Assignee: aspectj inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-06-29 20:15 EDT by Andrew Clement CLA
Modified: 2010-07-06 15:23 EDT (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 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