| Summary: | commons-el doesn't compile with jdk 1.5 (enum) | ||
|---|---|---|---|
| Product: | Gentoo Linux | Reporter: | Petteri Räty (RETIRED) <betelgeuse> |
| Component: | [OLD] Development | Assignee: | Gentoo Linux bug wranglers <bug-wranglers> |
| Status: | RESOLVED DUPLICATE | ||
| Severity: | normal | ||
| Priority: | High | ||
| Version: | unspecified | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Package list: | Runtime testing required: | --- | |
[javac] /var/tmp/portage/commons-el-1.0/work/commons-el-1.0-src/src/java/org/apache/commons/el/parser/ELParser.java:1842: as of release 1.5, 'enum' is a keyword, and may not be used as an identifier [javac] (try -source 1.4 or lower to use 'enum' as an identifier) [javac] int[] oldentry = (int[])(enum.nextElement()); [javac] ^ [javac] 7 errors BUILD FAILED /var/tmp/portage/commons-el-1.0/work/commons-el-1.0-src/build.xml:175: Compile failed; see the compiler error output for details. see http://a.bo.cx/b/gentoo/ for full log Reproducible: Always Steps to Reproduce: 1. emerge commons-el with jdk 1.5