* Severin Gehwolf:
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
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.
Surely the java-openjdk packages could be empty and just depend on the
java-11-openjdk packages for now?
> 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).
I think the root cause is that javapackages-tools-5.3.0-1.fc29 depends
on java-1.8.0-openjdk-headless.
Thanks,
Florian