Bug 405298

Summary: Code fails to compile when accessing introduced public fields
Product: [Tools] AspectJ Reporter: Matthew Adams <matthew>
Component: CompilerAssignee: aspectj inbox <aspectj-inbox>
Status: NEW --- QA Contact:
Severity: normal    
Priority: P3    
Version: 1.7.3   
Target Milestone: ---   
Hardware: PC   
OS: Mac OS X   
Whiteboard:

Description Matthew Adams CLA 2013-04-09 12:10:40 EDT
[ERROR] Failed to execute goal org.codehaus.mojo:aspectj-maven-plugin:1.4:test-compile (default-testCompile) on project foundation-domain: Compiler errors:
[ERROR] error at you.username.trim(); // should NOT generate warning
[ERROR] ^^^^^
[ERROR] /Users/matthew/Documents/foundation/foundation/domain/src/test/java/com/scispike/foundation/domain/test/unit/trait/user/GoodYouserClient.java:18:0::0 username cannot be resolved or is not a field
[ERROR] error at you.username = "new"; // should NOT generate warning
[ERROR] ^^^^^
[ERROR] /Users/matthew/Documents/foundation/foundation/domain/src/test/java/com/scispike/foundation/domain/test/unit/trait/user/GoodYouserClient.java:22:0::0 username cannot be resolved or is not a field
[ERROR] error at you.username.trim(); // should generate warning
[ERROR] ^^^^^
[ERROR] /Users/matthew/Documents/foundation/foundation/domain/src/test/java/com/scispike/foundation/domain/test/unit/trait/user2/BadYouserClient.java:18:0::0 username cannot be resolved or is not a field
[ERROR] error at you.username = "new"; // should generate warning
[ERROR] ^^^^^
[ERROR] /Users/matthew/Documents/foundation/foundation/domain/src/test/java/com/scispike/foundation/domain/test/unit/trait/user2/BadYouserClient.java:22:0::0 username cannot be resolved or is not a field
[ERROR] -> [Help 1]
[ERROR] 
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]