Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 5433 - unmerging jdk or jre does not remove entry from java-config
Summary: unmerging jdk or jre does not remove entry from java-config
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Development (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Karl Trygve Kalleberg (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-07-22 18:57 UTC by Dave Nellans
Modified: 2003-02-04 19:42 UTC (History)
1 user (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Dave Nellans 2002-07-22 18:57:08 UTC
Unmerging a jdk or jre does not remove the appropriate entry so that java-config
believes they are still there even if they are not.  Not sure if java-config
should be smarter, or if they ebuilds for jre and jdk should remove this
entry...  either way, one should do it...
Comment 1 Karl Trygve Kalleberg (RETIRED) gentoo-dev 2002-07-25 17:00:16 UTC
Hmm.. yes. This one can get tricky fast, really:
1) merge sun-jre-1.4.0
2) java-config --set-system-vm=sun-jre-1.4.0
3) unmerge sun-jre-1.4.0

At this point, we should remove sun-jre-1.4.0 from the list of available vms,
that's understandable, but should we remove it as the default system VM ? 

Probably not, as we have a policy of never messing with the user's configuration
setup unless explicitly told so. 

This, however, means that if the user unmerges the default system VM, or a VM
any of his users have as their default, things will stop working.
Comment 2 Karl Trygve Kalleberg (RETIRED) gentoo-dev 2002-08-26 11:42:52 UTC
Okay. I updated the java.eclass, so the Java packages that inherit that one will
get the desired functionality. I'm slowly moving all JDKs and JREs to using the
java eclass, but I want to do it stepwise, in case it results in severe breakage..