Bug 138215 - Reference pointcut fails inside @DeclareWarning
Summary: Reference pointcut fails inside @DeclareWarning
Status: RESOLVED FIXED
Alias: None
Product: AspectJ
Classification: Tools
Component: Compiler (show other bugs)
Version: unspecified   Edit
Hardware: Macintosh Mac OS X - Carbon (unsup.)
: P3 normal (vote)
Target Milestone: 1.5.2   Edit
Assignee: aspectj inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-04-24 12:22 EDT by Adrian Colyer CLA
Modified: 2007-07-29 09:19 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 Adrian Colyer CLA 2006-04-24 12:22:10 EDT
When a pointcut expression used with an @DeclareWarning construct contains a reference pointcut, the warning is correctly produced at matched join points, but the compiler also gives an error saying that the referenced pointcut cannot be found.
Comment 1 Adrian Colyer CLA 2006-04-24 12:30:24 EDT
(more details forthcoming, I just raised the issue first to get a bug number to use for the test case...)
Comment 2 Adrian Colyer CLA 2006-04-24 12:38:34 EDT
Reproduceable when @DeclareWarning contains an unqualified reference to a named pointcut defined within the same @Aspect.

See bugs152/pr138215 for test case that reproduces the issue.
Comment 3 Adrian Colyer CLA 2006-04-25 08:20:24 EDT
fix commited in tree...
Comment 4 Andrew Clement CLA 2006-04-26 08:10:55 EDT
fix available.
Comment 5 Eclipse Webmaster CLA 2007-07-29 09:19:36 EDT
Changing OS from Mac OS to Mac OS X as per bug 185991