Summary: | xpp2/3 don't compile with java5 (target release 1.1 conflicts with def. src. rel. 1.5) | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Julian Pietron <julian> |
Component: | [OLD] Library | Assignee: | Java team <java> |
Status: | RESOLVED WONTFIX | ||
Severity: | normal | ||
Priority: | High | ||
Version: | unspecified | ||
Hardware: | AMD64 | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: |
xpp3 patch to replace variables named enum with something else, since enum is a java5 keyword
xpp2 patch replacing enum variable names |
Description
Julian Pietron
2005-09-16 12:15:00 UTC
Created attachment 68616 [details, diff]
xpp3 patch to replace variables named enum with something else, since enum is a java5 keyword
Test the patch out hopefully it will work, basically you can not use enum as a variable name in java5 code. Some java programmers havn't caught onto this yet and are still naming variables enum, since it was common practice to name your StringTokenizer object enum. Julian: Java 5 is still hard masked and even if not this wouldn't be a blocker. See also Bug 79206 Created attachment 68617 [details, diff]
xpp2 patch replacing enum variable names
I suggest applying the patches since java5 will adventually become the standard for java. It's a simple fix and should probably be sent upstream. you can just pass -source 1.4 and you don't need to watch this will be fixed when we roll out the other fixes and unmask 1.5 |