Bug 405298 - Code fails to compile when accessing introduced public fields
Summary: Code fails to compile when accessing introduced public fields
Status: NEW
Alias: None
Product: AspectJ
Classification: Tools
Component: Compiler (show other bugs)
Version: 1.7.3   Edit
Hardware: PC Mac OS X
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: aspectj inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-04-09 12:10 EDT by Matthew Adams CLA
Modified: 2013-04-09 12:10 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 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]