Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 78352 - xml-commons-resolver doesn't compile with jdk 1.5
Summary: xml-commons-resolver doesn't compile with jdk 1.5
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All All
: High normal (vote)
Assignee: Java team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-01-17 05:09 UTC by Patrizio Bassi
Modified: 2005-01-17 09:10 UTC (History)
0 users

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


Attachments
jdk 1.5 compatibility (patch-jdk-1.5.diff,10.49 KB, patch)
2005-01-17 06:11 UTC, Patrizio Bassi
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Patrizio Bassi 2005-01-17 05:09:57 UTC
i think it's pretty useless to paste all errors here....

98 errors...due to enum keyword and some parse errors { }
(i think due to enum too).

compiler suggest the source=1.4 parameter to javac

i'm investigating a bit now, please play with ant, i don't know the ant syntax
Comment 1 Patrizio Bassi 2005-01-17 06:11:13 UTC
Created attachment 48750 [details, diff]
jdk 1.5 compatibility

please apply :)
Comment 2 Patrizio Bassi 2005-01-17 06:11:34 UTC
after investigating...i saw that this ebuild doesn't use the ant xml file provided with the package. that's so strange.

however a fix can be adding "-source 1.4" into the 19th ebuild line, after the javac invocation.

but that could break some old jdk compilation.

so i provided a jdk 1.5 patch, please add epatch statement to ebuild and apply the attached patch
Comment 3 Jan Brinkmann (RETIRED) gentoo-dev 2005-01-17 09:10:52 UTC
thanks for your report, fixed version in portage. i've added a build.xml file for this package.