Details
-
Task
-
Resolution: Fixed
-
Major
-
1.2.3
-
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
-
JCBC-915 Check project uses JDK 1.6 API only
- Resolved
For Gerrit Dashboard: JVMCBC-286 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
59339,3 | JVMCBC-286: Enforce usage of Java 6 APIs only | master | couchbase-jvm-core | Status: MERGED | +2 | +1 |
59342,2 | JVMCBC-286: Enforce usage of Java 6 APIs only | master | couchbase-java-client | Status: MERGED | +2 | +1 |