Uploaded image for project: 'Commons Lang'
  1. Commons Lang
  2. LANG-156

[LANG] - o.a.c.lang.enum.ValuedEnum: 'enum'is a keyword in JDK1.5.0

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.0
    • 2.1
    • None
    • None
    • Operating System: All
      Platform: All

    • 31572

    Description

      I meet this error while trying to compile cocoon code using JDK1.5.0:
      /cocoon-2.1/src/blocks/forms/java/org/apache/cocoon/forms/event/ProcessingPhase.java:22:
      as of release 1.5, 'enum' is a keyword, and may not be used as an identifier
      (try -source 1.4 or lower to use 'enum' as an identifier)
      import org.apache.commons.lang.enum.ValuedEnum;

      Seems like JDK1.5.0 don't like the enum keyword inside the import statement.

      Attachments

        Activity

          People

            Unassigned Unassigned
            agallardo@agsoftware.dnsalias.com Antonio Gallardo
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: