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

Bug 84770

Summary: Patch to compile DB 3.2.9 against Java 5 (1.5)
Product: Gentoo Linux Reporter: Justin Clark <daclink>
Component: [OLD] Core systemAssignee: Paul de Vrieze (RETIRED) <pauldv>
Status: RESOLVED FIXED    
Severity: normal CC: java
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: A patch to rename the variable

Description Justin Clark 2005-03-10 11:07:57 UTC
The file db-3.2.9/java/src/com/sleepycat/db/DbEnv.java uses 'enum' as a variable name. As of java 1.5 enum is a keyword. The patch simply renames the variable.

Reproducible: Always
Steps to Reproduce:
1.Install a Java 1.5 sdk
2.emerge db-3.2.9.*
Comment 1 Justin Clark 2005-03-10 11:09:41 UTC
Created attachment 53090 [details, diff]
A patch to rename the variable
Comment 2 Paul de Vrieze (RETIRED) gentoo-dev 2005-03-11 02:53:18 UTC
Java guys. What do you think I should do. I know this fix is correct in formal sense, but what is the stance of the java team about it?
Comment 3 Jan Brinkmann (RETIRED) gentoo-dev 2005-03-26 15:36:34 UTC
if it works, maybe simply apply it. do you want us to do it?
Comment 4 Paul de Vrieze (RETIRED) gentoo-dev 2005-03-27 12:15:14 UTC
Thanks, I've just committed a new version of the ebuild with the patch applied.