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

          Kristian Waagan created issue -
          Kristian Waagan made changes -
          Field Original Value New Value
          Link This issue is part of DERBY-3989 [ DERBY-3989 ]
          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.
          Kristian Waagan made changes -
          Status Open [ 1 ] Resolved [ 5 ]
          Fix Version/s 10.6.1.1 [ 12314973 ]
          Fix Version/s 10.7.0.0 [ 12314971 ]
          Resolution Fixed [ 1 ]
          Hide
          Kristian Waagan added a comment -

          Closing issue.

          Show
          Kristian Waagan added a comment - Closing issue.
          Kristian Waagan made changes -
          Status Resolved [ 5 ] Closed [ 6 ]
          Kathey Marsden made changes -
          Fix Version/s 10.6.2.0 [ 12315342 ]
          Fix Version/s 10.6.1.1 [ 12314973 ]
          Knut Anders Hatlen made changes -
          Fix Version/s 10.6.2.0 [ 12315342 ]
          Fix Version/s 10.6.2.1 [ 12315343 ]
          Rick Hillegas made changes -
          Affects Version/s 10.7.1.1 [ 12315564 ]
          Affects Version/s 10.7.1.0 [ 12314971 ]
          Fix Version/s 10.7.1.1 [ 12315564 ]
          Fix Version/s 10.7.1.0 [ 12314971 ]
          Gavin made changes -
          Workflow jira [ 12513298 ] Default workflow, editable Closed status [ 12800248 ]
          Transition Time In Source Status Execution Times Last Executer Last Execution Date
          Open Open Resolved Resolved
          7d 1h 17m 1 Kristian Waagan 21/Jun/10 14:26
          Resolved Resolved Closed Closed
          1m 34s 1 Kristian Waagan 21/Jun/10 14:28

            People

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

              Dates

              • Created:
                Updated:
                Resolved:

                Development