Uploaded image for project: 'James Server'
  1. James Server
  2. JAMES-343

James does not compile using Sun JDK 5.0

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Trivial
    • Resolution: Duplicate
    • Affects Version/s: 2.3.0
    • Fix Version/s: 2.3.0
    • Component/s: None
    • Labels:
      None
    • Environment:
      Sun JDK 5.0
      Ant 1.6.2

      Description

      Several of the source files use a variable called "enum" for Enumerators. This is a new keyword in Java 1.5, and the Sun JDK 5.0 compiler fails when it sees these variables.

      Please add "source='1.4'" (or whichever language version is officially supported) to the "javac" task in build.xml.

      Changing the names of these variables would also work, but the "source" attribute provides better forward compatability as the Java language evolves.

        Attachments

          Activity

            People

            • Assignee:
              bago Stefano Bagnara
              Reporter:
              jkeyser Jeff Keyser
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: