Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 132799 - jdbc3-postgresql-8.1_p404 does not support jikes use flag
Summary: jdbc3-postgresql-8.1_p404 does not support jikes use flag
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Java team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-05-09 09:00 UTC by Federico Fissore
Modified: 2007-09-23 00:12 UTC (History)
1 user (show)

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


Attachments
the output (error.txt,7.22 KB, text/plain)
2006-05-09 09:03 UTC, Federico Fissore
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Federico Fissore 2006-05-09 09:00:29 UTC
if you try to emerge dev-java/jdbc3-postgresql-8.1_p404 with USE="jikes", jikes will fail as the latest jdbc driver for postgres are written using the java5 syntax, so jikes will fail (error messages shows generics)

i think this driver should be hard masked as the sun-jdk-1.5 is, at least until the gentoo-java team will complete the java5 migration
Comment 1 Federico Fissore 2006-05-09 09:03:46 UTC
Created attachment 86485 [details]
the output
Comment 2 Josh Nichols (RETIRED) gentoo-dev 2006-07-01 08:29:55 UTC
I believe it autodetects which VM you are using, and will add compile extra classes when you have 1.5 around. In these cases, jikes will not suffice.

So, I have revbumped this package to use the new Java system, which allows us to filter which compiler is used. Give it a few hours to propogate to the mirrors.

Also, since the autodetection makes the build non-deterministic (as in, you'll get different files if installing with 1.4 or 1.5), I've locked it into using 1.4. This is a bit less than idea, but a new use flag would need to be introduced to support Java 1.5 features.

Thanks for reporting.