Details
-
Task
-
Resolution: Fixed
-
Major
-
2.2.3
-
Security Level: Public
-
None
Description
When developing against a recent JDK, it's not sufficient to just set the targetVersion to 1.6, as the compiler will happily produce Java 6 bytecode that uses APIs introduced in a more recent version (eg. Java 8). This results in code that can't run on a Java 6 JRE.
The Animal-Sniffer tool has a Maven integration that allows to check such cases.
Attachments
Issue Links
- relates to
-
JVMCBC-286 Check project uses JDK 1.6 API only
- Resolved