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

Ability to compile under JDK1.5

    XMLWordPrintableJSON

Details

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

    Description

      Compilation fails when using JDK1.5 due to
      1) no specification of language level
      2) use of "enum" as identifier

      The language issue results in the use of the new StringBuilder class for string concatenation resulting in code that will not run on earlier JVMs.

      Dropping the langauge level will allow it to compile but warnings are generated due to the use of "enum" as an identifier; with 1.5 this becomes a reserved word

      Attachments

        1. derby_jdk15_build.patch
          38 kB
          Jeremy Boynes
        2. derby_jdk15_build2.patch
          31 kB
          Jeremy Boynes
        3. javacc40.diff
          2 kB
          Samuel Andrew McIntyre

        Issue Links

          Activity

            People

              fuzzylogic Samuel Andrew McIntyre
              jboynes Jeremy Boynes
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: