Menu

#1 Compiler compliance level uses invalid values

open
nobody
None
5
2009-03-24
2009-03-24
Peter Voss
No

When using
<settings>
<jdtcore compilercompliance="5.0" />
<resources encoding="UTF-8" />
</settings>

The org.eclipse.jdt.core.compiler.compliance property in .settings/org.eclipse.jdt.core.prefs is set to 5.0, but it should have been set to 1.5. The same applies to 6.0 versus 1.6. The documentation also says that 1.5 or 1.6 should be used, but the behavior of the eclipse ant task is different.

Discussion


Log in to post a comment.