Uploaded image for project: 'Java Couchbase JVM Core'
  1. Java Couchbase JVM Core
  2. JVMCBC-286

Check project uses JDK 1.6 API only

    XMLWordPrintable

Details

    • Task
    • Resolution: Fixed
    • Major
    • 1.2.4
    • 1.2.3
    • Dependencies
    • 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

          No reviews matched the request. Check your Options in the drop-down menu of this sections header.

          Activity

            People

              simonbasle Simon Baslé (Inactive)
              simonbasle Simon Baslé (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes

                  PagerDuty