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 Bug
    • Status: Closed
    • Priority: Minor 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').

        Issue Links

          Activity

          Hide
          Kristian Waagan added a comment -

          Committed to trunk with revision 954421.
          Back-ported to the 10.6 branch with revision 956576.

          Show
          Kristian Waagan added a comment - Committed to trunk with revision 954421. Back-ported to the 10.6 branch with revision 956576.
          Hide
          Kristian Waagan added a comment -

          Closing issue.

          Show
          Kristian Waagan added a comment - Closing issue.

            People

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

              Dates

              • Created:
                Updated:
                Resolved:

                Development