Summary: | NPE or StackOverflow when resolving reference pointcut in ReflectionWorld | ||
---|---|---|---|
Product: | [Tools] AspectJ | Reporter: | Adrian Colyer <adrian.colyer> |
Component: | Compiler | Assignee: | aspectj inbox <aspectj-inbox> |
Status: | RESOLVED FIXED | QA Contact: | |
Severity: | normal | ||
Priority: | P2 | ||
Version: | 1.5.1 | ||
Target Milestone: | 1.5.2 | ||
Hardware: | Macintosh | ||
OS: | Mac OS X - Carbon (unsup.) | ||
Whiteboard: |
Description
Adrian Colyer
2006-05-05 09:43:03 EDT
To solve this I had to split the getDeclaredPointcuts operation in Java15ReflectionBasedDelegate into 3 distinct phases: first populate the pointcuts array with DeferredResolvedPointcutDefinitions :- these know there name and parameters, but not yet the Pointcut object they contain. secondly resolve all the pointcuts thirdly concretize all the pointcuts Driving through these phases in this order (as oppose to trying to resolve and concretize the first pointcut before the others have even been defined) prevents the errors described. .. this is a high priority bug for the Spring community fix committed in tree. fix available Changing OS from Mac OS to Mac OS X as per bug 185991 |