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

Bug 92790

Summary: sun-{jdk-jre} 1.5 slot?
Product: Gentoo Linux Reporter: Patrizio Bassi <patrizio.bassi>
Component: New packagesAssignee: Java team <java>
Status: RESOLVED INVALID    
Severity: normal    
Priority: High    
Version: 2005.0   
Hardware: All   
OS: All   
Whiteboard:
Package list:
Runtime testing required: ---

Description Patrizio Bassi 2005-05-16 06:37:37 UTC
considering that java 5.0 (aka 1.5.x) is stable and used...

can't you add 1.4 and 1.5 (so unmasked..) simply slotted?

it will let people to sligthly move to 1.5 without having hard packages compilation errors.

is the slot a problem ?
Comment 1 Jan Brinkmann (RETIRED) gentoo-dev 2005-05-16 06:47:09 UTC
it's already slotted as 1.5. that doesnt change the problem that if somebody uses as it's system vm some packages dont compile. example:

somebody decides to use the 1.5 jdk as the system vm at some point, everything works fine for him and he merges java packages over , lets say 3 or 4 weeks. then he has to compile dom4j or other bigger packages which dont work with the 1.5 jdk yet, then he cant simply switch back without recompiling all packages which he has merged using a 1.5 jdk. we're working on it but it is still not finished. 
Comment 2 Patrizio Bassi 2005-05-16 08:08:02 UTC
sure...but the 1.4 will only be a "support" for 1.5 packages that don't compile.

1.4 compiled -> 1.5 runtime is possibile.
another possibility is providing some -bin packages....java doesn't need to be compiled on every machine.

this can be a nice and fast solution for 1.5-not-compiling-but-blocking apps.
for example i can't compile jaxen 1.0, dependency of tomcat.

please consider that