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

Be able to build Derby when JAVA_HOME is set 1.6

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 10.2.1.6
    • 10.2.1.6
    • Build tools
    • None

    Description

      Currently, the 1.4 compiler is used to build most of Derby. We use the 1.6 compiler to (optionally) build the JDBC4 support. If you try to build Derby in a shell window with a 1.6 JAVA_HOME, the 1.4 bits will fail to build. This is because those bits do not satisfy the JDBC4 contract. In addition, even if you could build those bits under 1.6, the 1.6 class files would fail to load on a 1.4 vm.

      We need to be able to use 1.6 as our default build environment but still generate jar files which run on 1.4 and 1.5. There may be compiler switches which allow this. If not, building in a 1.6 environment could fault in the 1.4 compiler as necessary.

      Attachments

        1. derby-1078_part2.diff
          21 kB
          Samuel Andrew McIntyre
        2. derby-1078_part3.diff
          2 kB
          Samuel Andrew McIntyre
        3. derby-1078.diff
          33 kB
          Samuel Andrew McIntyre

        Issue Links

          Activity

            People

              fuzzylogic Samuel Andrew McIntyre
              rhillegas Richard N. Hillegas
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: