Bug 415778

Summary: Test-compile failure w/JDK 1.7 & source/target/compliance 1.7
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-08-23 12:06:19 EDT
When using JDK 1.6 or JDK 1.7 with source/target/compliance set to 1.6, my Maven project (using aspectj-maven-plugin) compiles ok.  When using JDK 1.7 with source/target/compliance set to 1.7, the test-compile phase of my Maven project fails, indicating that an ITD target fails to implement a required interface method:
=====
[ERROR] Failed to execute goal org.codehaus.mojo:aspectj-maven-plugin:1.4:test-compile (default-testCompile) on project foundation-jpa: Compiler errors:
[ERROR] error at public class DeletableThing {
[ERROR] ^^^^^^^^^^^^^
[ERROR] /Users/matthew/Documents/foundation/foundation/jpa/src/test/java/com/scispike/foundation/jpa/test/unit/trait/persistence/DeletableThing.aj:10:0::0 The type DeletableThing must implement the inherited abstract method IHasEntityManager.getEntityManager()
...
=====
The same class, however, if placed in the main source tree (src/main/java) compiles successfully, implying that there is some difference in the way compilation is happening with s/t/c 1.7.

Andy Clement has been given reproducible private source offline.