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

Bug 73183

Summary: jakarta-log4j need source -1.4 or version bump
Product: Gentoo Linux Reporter: Ernst Sjöstrand <ernstp>
Component: [OLD] ServerAssignee: Java team <java>
Status: RESOLVED DUPLICATE    
Severity: enhancement CC: cm
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Ernst Sjöstrand 2004-12-02 19:06:42 UTC
Getting a lot of these:

    [javac] /var/tmp/portage/log4j-1.2.8-r2/work/jakarta-log4j-1.2.8/src/java/org/apache/log4j/PropertyConfigurator.java:513: 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]       String key = (String) enum.nextElement();
    [javac]                             ^

I saw that they hade renamed all enum variables in CVS, but I counldn't find out if that was in the 1.2.9 release.


Reproducible: Always
Steps to Reproduce:
Comment 1 Jan Brinkmann (RETIRED) gentoo-dev 2004-12-04 03:49:29 UTC
this is a duplicate of #71636 , as it seems.
Comment 2 Jan Brinkmann (RETIRED) gentoo-dev 2005-01-05 04:48:05 UTC

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