F22 System Wide Change: Legacy implementations of the Java platform in Fedora

Dominik 'Rathann' Mierzejewski dominik at greysector.net
Tue Feb 24 12:50:06 UTC 2015

On Tuesday, 24 February 2015 at 13:34, Severin Gehwolf wrote:
> On Tue, 2015-02-24 at 12:43 +0100, Mikolaj Izdebski wrote:
> [...]
> > > ==== option one - introducing new packages - preferred ====
> > > 1. main jdk is proclaimed as dead as it was until now.  The new jdk is derived 
> > > as new package prviousName-legacy
> > 
> > Fedora already supports multiple JDKs installable in parallel. This was
> > inherited from JPackage project. This breaks long-established rule of
> > naming JDK packages as "java-x.y.z-vendor" used across different
> > distributions (JPackage, Fedora, RHEL, SUSE, ...)
> [...]
> The idea behind this "-legacy" suffix was to ensure a reasonable upgrade
> path for people *only* using default java-x.y.z-openjdk package. 
> Consider the following scenario (all hypothetical, not saying that any
> Fedora releases and JDK releases align in this way):
> F22 has default JDK of java-1.8.0-openjdk. Then, F23 will get
> java-1.9.0-openjdk as default and F24 java-1.10.0-openjdk as default.
> The upgrade from F22 => F23 will install java-1.9.0-openjdk and remove
> java-1.8.0-openjdk. Similarly, the upgrade from F23 to F24 will install
> java-1.10.0-openjdk and remove java-1.9.0-openjdk. This is to ensure
> that no old JDKs stick around on the majority of Fedora systems.
> If the name was kept there does not seem to be a good way to:
> 1.) Ensure dist upgrades update JDK packages
> 2.) Ensure dist upgrades remove old JDK package (which may no longer
>     get security updates).
> Do you see a way to achieve this without a name change of the package?

Wait. Don't you realize that java-1.8.0-openjdk and java-1.9.0-openjdk
are different packages?

If there are any packages requiring java-1.8.0-openjdk they can keep
using it as long as it has a maintainer. java-1.9.0-openjdk will be
a completely new package.

I agree with MikoĊ‚aj that there's no need for what you're proposing.

Fedora http://fedoraproject.org/wiki/User:Rathann
RPMFusion http://rpmfusion.org
"Faith manages."
        -- Delenn to Lennier in Babylon 5:"Confessions and Lamentations"

More information about the devel mailing list