Uploaded image for project: 'Derby'
  1. Derby
  2. DERBY-4699

Build breaks if a Java 6 JDK is detected when compiling with a Java 5 compiler

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 10.7.1.1
    • Fix Version/s: 10.6.2.1, 10.7.1.1
    • Component/s: Build tools
    • Labels:
      None

      Description

      If a Java 6 JDK is detected by PropertySetter when compiling with a Java 5 compiler, the build break because classes with an unsupported class format version are pulled in.

      PropertySetter already has code to fail the build or ignore the Java 6 libraries for IBM JDKs.

      This issue is a straw man issue for the patch posted under DERBY-3989 (' derby-3989-02-aa-dontUseJava6LibsWithJava5Compiler.diff').

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                kristwaa Kristian Waagan
                Reporter:
                kristwaa Kristian Waagan
              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: