Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 75480

Summary: commons-el doesn't compile with jdk 1.5 (enum)
Product: Gentoo Linux Reporter: Petteri Räty (RETIRED) <betelgeuse>
Component: [OLD] DevelopmentAssignee: 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: ---

Description Petteri Räty (RETIRED) gentoo-dev 2004-12-23 13:55:16 UTC
[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
Comment 1 Thomas Matthijs (RETIRED) gentoo-dev 2004-12-23 13:56:59 UTC

*** This bug has been marked as a duplicate of 75476 ***