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

[lang] enum package is not compatible with 1.5 jdk

    XMLWordPrintableJSON

Details

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

    • 33866

    Description

      Classes that are located in org.apache.commons.lang.enum package can't be used
      with 1.5 jdk (aka the 5.0) because the "enum" is a reserved keyword. Compiler
      error looks like this: "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)"

      There probably should be a separate jar for 1.5+ jdk

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              igor@fedulov.com Igor Fedulov
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: