Bug 71796 - Fields in pointcuts are not checked for existance
Summary: Fields in pointcuts are not checked for existance
Status: RESOLVED INVALID
Alias: None
Product: AspectJ
Classification: Tools
Component: Compiler (show other bugs)
Version: unspecified   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: 1.2.1   Edit
Assignee: Adrian Colyer CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-08-11 11:37 EDT by Eric Bodden CLA
Modified: 2004-10-21 04:31 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 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