Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
2.0
-
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
- depends upon
-
COLLECTIONS-63 [collections] compile failes with jdk 1.5 due to "enum"
- Closed
-
LANG-108 [lang] Compile error with JDK 5 "enum" is a keyword
- Closed