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

Separate out the small number of build targets which really require JDK1.4 features from the bulk of the targets which ought to compile cleanly against small device libraries

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 10.5.1.1
    • 10.5.1.1
    • Build tools
    • None
    • Patch Available

    Description

      It would be good to make jsr169 the default platform for most Derby build targets. This will allow the build to raise compile-time errors when a checkin violates the small-device contract. Only a small number of features (listed in DERBY-3966) really require JDK1.4. Something like the following may work:

      1) Finish up DERBY-3966 so that java4compile.classpath defaults to an approximation of ${jdk14xmlSupport}: ${java15compile.classpath}

      2) Make compile.classpath default to jsr169compile.classpath

      3) Fortunately, jsr169compile.classpath itself already defaults to ${jsr169stubs}:${java14compile.classpath}

      4) Change a (hopefully) small number of targets to use java14compile.classpath rather than compile.classpath

      Attachments

        1. derby-3984-05-aa-revert.diff
          2 kB
          Richard N. Hillegas
        2. derby-3984-04-aa-mbeansBuild.diff
          0.5 kB
          Richard N. Hillegas
        3. derby-3984-03-aa-securityBuild.diff
          0.5 kB
          Richard N. Hillegas
        4. derby-3984-02-aa-CallableStatement.diff
          0.4 kB
          Richard N. Hillegas
        5. derby-3984-01-ab-defaultToJsr169.diff
          15 kB
          Richard N. Hillegas
        6. derby-3984-01-aa-defaultToJsr169.diff
          15 kB
          Richard N. Hillegas

        Issue Links

          Activity

            People

              rhillegas Richard N. Hillegas
              rhillegas Richard N. Hillegas
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: