On Mon, 2018-12-17 at 13:22 +0100, Florian Weimer wrote:
What's the expected set of OpenJDK packages in Fedora 29?
I see three version:
java-openjdk-headless-11.0.1.13-8.rolling.fc29.x86_64
java-11-openjdk-headless-11.0.1.13-4.fc29.x86_64
java-1.8.0-openjdk-headless-1.8.0.191.b12-11.fc29.x86_64
This looks right.
Surely we do not need two versions of OpenJDK 11?
Package java-openjdk is tracking the latest GA'ed version of OpenJDK.
Right now that's JDK 11. Coincidentally, this is also an LTS version
which is packaged elsewhere (java-11-openjdk). java-openjdk will be JDK
12 once it's GA in spring 2019. This situation will re-occur once an
LTS version is also the latest GA'ed JDK.
It's a weird construct, but we don't have good alternatives for a
rolling release package:
A) JDK 10 is already EOL, JDK 12 isn't GA'ed yet, so not really
suitable for a stable Fedora release.
B) Retiring the package, then unretiring it when it's no longer
matching an LTS release seems sub-optimal user experience.
C) Virtually providing it isn't possible, without breakages. Not all
JDK packages are ready for JDK 9+. If java-11-openjdk virtually
provided java-openjdk-headless it might break apps.
Given the above, we've opted for this solution.
And I think it was possible to install LibreOffice without OpenJDK
8.
With the current updates/updates-testing composes, this no longer
appears to be possible. Is this a deliberate change?
Do you know which package drags in OpenJDK 8? IIRC, libreoffice-ure has
a require on 'libjvm.so()'[1]. The plan is to only provide it for the
main JDK in Fedora (currently JDK 8). The reason is the same as above.
Not all projects are ready for JDK 9+ (or 11).
HTH,
Severin
[1]
https://bugzilla.redhat.com/show_bug.cgi?id=1590796#c14