Summary: | Ant Task "iajc" with JDK 1.5 fails with java.lang.UnsupportedClassVersionError | ||||||
---|---|---|---|---|---|---|---|
Product: | [Tools] AspectJ | Reporter: | Masaru Tomimitsu <masaru.tomimitsu> | ||||
Component: | Compiler | Assignee: | aspectj inbox <aspectj-inbox> | ||||
Status: | NEW --- | QA Contact: | |||||
Severity: | normal | ||||||
Priority: | P3 | CC: | aclement | ||||
Version: | 1.8.2 | ||||||
Target Milestone: | --- | ||||||
Hardware: | PC | ||||||
OS: | Windows 7 | ||||||
Whiteboard: | |||||||
Attachments: |
|
Description
Masaru Tomimitsu
2014-09-10 12:22:06 EDT
This issue occurs also on Linux machine's JDK 1.5. Also on Linux, JDK 1.6 compiles without error, and that, with ant of version 1.7.0. which seems to indicate that it's not ANT's problem. I believe this is unfortunately due to the Eclipse Compiler upgrading to a Java 1.6 baseline. The AspectJ code is still Java5 but because we use a modified Eclipse compiler to do the compiler heavy lifting we now also have this 1.6 requirement. Are you ok to simply use an earlier version of AspectJ that is 1.5 compatible? |