Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 84770 - Patch to compile DB 3.2.9 against Java 5 (1.5)
Summary: Patch to compile DB 3.2.9 against Java 5 (1.5)
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Paul de Vrieze (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-03-10 11:07 UTC by Justin Clark
Modified: 2005-03-27 12:15 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
A patch to rename the variable (db-3.2.9-fix-java5.patch,598 bytes, patch)
2005-03-10 11:09 UTC, Justin Clark
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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.