Bug 71796

Summary: Fields in pointcuts are not checked for existance
Product: [Tools] AspectJ Reporter: Eric Bodden <eric>
Component: CompilerAssignee: Adrian Colyer <adrian.colyer>
Status: RESOLVED INVALID QA Contact:
Severity: normal    
Priority: P3    
Version: unspecified   
Target Milestone: 1.2.1   
Hardware: PC   
OS: Windows XP   
Whiteboard:

Description Eric Bodden CLA 2004-08-11 11:37:36 EDT
I am able to declare set/get pointcuts over non-existing fields without getting 
any error message.
Comment 1 Adrian Colyer CLA 2004-08-11 11:45:53 EDT
This is the expected behaviour. What about...

declare warning : get(String sausages)
  : "Please don't declare any fields called sausage";

?
Comment 2 Adrian Colyer CLA 2004-10-21 04:31:25 EDT
Fix released as part of AspectJ 1.2.1