From Fedora Project Wiki

java-21-openjdk removal sooner then originally scheduled

Summary

Remove java-21-openjdk already from F44, rather then F45 as was originally announced here and here


Owner


Current status

Description

When we introduced Eclipse Temurin JDK originally and again, when java-25-openjdk entered to Fedora, we claimed, that java-21-openjdk will stay in Fedora until f44. That means to support it until May 2026.

However the acceptance of Eclipse Temurin JDKS and of java-25-openjdk was so successful, that there seem to be nearly no reason keep supporting java-21-openjdk for whole more year, and focus saved resources to java-25-openjdk and to java-25-openjdk.

Detailed Description

Short preliminary discussion happened in early December without any strong opposition but with several good ideas. but From total java-stack(546 packages), only 26 requires jdk21 for build:

pkg build-as-is 5.1.2026 ported to jdk25 notes
apache-commons-modeler NO apache-commons-modeler-2.0.1-48.fc43, apache-commons-modeler-2.0.1-48.fc44 modification to the moditect plugin was needed
apache-commons-text NO apache-commons-text-1.10.0-13.fc44 1.10 was EOL, updated to 1.15 later
apache-sshd NO apache-sshd-2.16.0-1.fc44
decentxml NO decentxml-1.4-42.fc44 EOL
fop NO fop-2.11-1.fc44.src.rpm
Java-WebSocket yes Java-WebSocket-1.6.0-5.fc44
l10n-maven-plugin yes l10n-maven-plugin-1.1.0-3.fc44 EOL. SHould update to 1.4 (which is also EOL)
maven-archetype NO maven-archetype-3.2.1.0.8b3bdb6-20.fc44, maven-archetype-3.2.1.0.8b3bdb6-20.fc43 it was me who broke it in f43 mass rebuild. Fixed now
resteasy yes resteasy-3.0.26-37.fc44 Should update to v7.0.1.Final
xmlgraphics-commons NO xmlgraphics-commons-2.11-5.fc43, xmlgraphics-commons-2.11-5.fc44 it was me who broke it in f43 mass rebuild. Fixed now
javapoet yes javapoet-1.7.0-28.fc44 EOL. Should update to javapoet-1.13.0 (EOL anyway)
java-runtime-decompiler yes java-runtime-decompiler-10.0-7.fc44
jol yes jol-0.17-11.fc44 disabled failing tests
juniversalchardet yes juniversalchardet-2.4.0-17.fc44 8 years old. Should update to 2.5
plexus-velocity yes plexus-velocity-2.2.1-3.fc44 should update to 2.3
stringtemplate4 yes stringtemplate4-4.3.4-9.fc44
xbean yes xbean-4.24-13.fc44 disabled failing tests. Eol. Should udpate to 4.29
icedtea-web yes NO security manager and more. ITW is long over its lifetime....
ldapjdk yes ldapjdk-5.6.0-1.fc44
openjdk-asmtools yes openjdk-asmtools-9.0.0.b12.ea.eb1979669-0.fc44
mecab-java yes mecab-java-0.996-16.fc44
nekohtml NO nekohtml-1.9.22-33.fc44 EOL
jedit yes jedit-5.7.0-8.fc44 disabled tests, can't compile


Major changes:

  • apache-sshd - rebased to 2.16
  • pdfbox - rebased to 3.0.6
  • bouncycastle - rebased to 1.83
  • batik - rebased to 1.19
  • fop - rebased to 2.11

Unresolved issues:

  • more packages should be re-based by owners (see above table notes)
  • ITW should be orphaned as its functionality with jdk25 is disputable
    • maybe it can be built, but its runtime...
    • maintainer notified


Once those packages are resolved, jdk21 will be removed from rawhide and the adoptium-temurin-java-repository package will obsolete jdk21 in f44, and will warn about jdk21 being deprecated in f43 and down.

Schedule

Adoptium headless packages

The Headless packages were approved by Adoptium steering committee, and final PR is to all live jds is published and under testing. We all expect the headless subpkgs will land already in March release

Feedback

For now the headless subpakcage was rebuked as priority to fix on temurin side. Others may pop up.

Benefit to Fedora

Benefit to distribution itself is controversial. A lot of development is focussed to Eclispe Temurins, but we failed to prepare proper 1:1 replacement in past.

Main benefit will be the spared cycles of developers who will maintain one less jdk for one less cycle. Main focus of saved cycles should be the 1:1 compatibility of Temurins with our RPMs.

Note, that side benefit of this is, that Temurin JDK rpms will become more like Fedora rpms, rather then "more like Debian" or similarly.


Scope

  • Proposal owners:
    • We will help to migrate remaining packages to jdk25
    • we will deprecate and remove jdk21
    • we should improve temurin rpms to fit more
  • Other developers:
    • No work is expected
  • Release engineering: N/A
  • Policies and guidelines: N/A (not needed for this Change)
  • Trademark approval: N/A (not needed for this Change)
  • Alignment with the Fedora Strategy: ok, I think

Upgrade/compatibility impact

User which was used to have several system JDKs will have one system JDK (25) and one rolling future jdk java-latest-openjdk (26 in that time) if applicable.


Early Testing (Optional)

Do you require 'QA Blueprint' support? Y/N

How To Test

todo

User Experience

Change should be transparent to all users and power users. Users will have latest JDK as soon as possible, as usual, and all Java packages should remain fully operational.


Dependencies

  • adoptium-temurin-java-repository as per schedule and description
  • java-21-openjdk as per schedule and description
  • remaining packages in javastack as per schedule and description

Contingency Plan

  • Return java-21-openjdk as it is
  • Contingency deadline: beta freeze
  • Blocks release? No


Documentation

N/A for now

Release Notes