[Bug 2036873] Re: [SRU] Please provide openjdk-21 for focal and jammy
Launchpad Bug Tracker
2036873 at bugs.launchpad.net
Tue Sep 26 12:33:32 UTC 2023
Status changed to 'Confirmed' because the bug affects multiple users.
** Changed in: openjdk-21 (Ubuntu Jammy)
Status: New => Confirmed
--
You received this bug notification because you are a member of Ubuntu
Sponsors, which is subscribed to the bug report.
https://bugs.launchpad.net/bugs/2036873
Title:
[SRU] Please provide openjdk-21 for focal and jammy
Status in openjdk-21 package in Ubuntu:
Confirmed
Status in openjdk-21 source package in Focal:
Confirmed
Status in openjdk-21 source package in Jammy:
Confirmed
Bug description:
[Impact]
Java 21 is the latest stable release of Java. In order for Ubuntu to
provide a robust Java toolchain for our users the stable Ubuntu
releases (focal and jammy) should include Java 21.
Java 21 requires bootstrapping from Java 20 (or existing Java 21).
Neither Java 20 nor Java 21 are published in Jammy and Focal.
Mantic contains the Release Candidate Java 21 build 35. It was
promoted to a General Availability build on 20 September 2023.
adjust-bootjdk.patch (attached) allows bootstrapping from openjdk-17
that is present in Focal and Jammy releases. This patch is only
intended for bootstrapping of GA Java 21 build and contains
limitations such as disabled jtreg tests and disabled documentation
package. The full debdiff of bootstrap openjdk-21 package is attached.
The openjdk-21 21~35ea-1ubuntu1~20.04 should be published to focal -proposed and blocked from migration.
The openjdk-21 21~35ea-1ubuntu1~22.04 should be published to jammy -proposed and blocked from migration.
Those builds will allow publishing of the openjdk-21 21+35-1~20.04 and
21+35-1~22.04 packages.
Jtreg tests should be disabled for the package due to the large number
of packages that need to be upgraded in order to port jtreg7 [1]. This
should be handled as a separate issue.
The bootstrap openjdk is built for all architectures in
ppa:openjdk-r/ppa[2]
[Test Plan]
The ppas are set up with security pocket enabled.
PPA: ppa:vpa1977/openjdk-21-jtreg7[1]
PPA: ppa:vpa1977/openjdk-21-rebuild[3]
PPA: ppa:vpa1977/openjdk-21-notests [4]
The jtreg7 with dependencies, openjdk-21 21~35ea-1ubuntu1~20.04 and
openjdk-21 21~35ea-1ubuntu1~22.04 are published to the PPA[1].
A dependent PPA[2] has openjdk-21 21+35-1 published in Focal and
Jammy.
A PPA with versions that should be uploaded[4] has openjdk-21 with
jtreg tests disabled.
The ppa:vpa1977/openjdk-21-bootstrapped[2] should build and jtreg
tests should pass (see comments).
Packages built with tests disabled[4] should pass installation tests
(see piuparts attachments).
[Where problems could occur]
The packages need to be blocked from migration otherwise users will
get an incomplete openjdk-21 package (missing documentation).
The jtreg tests need to be disabled in the archive as we do not have
an official jtreg port yet.
There are no packages in the archive depending on Java 21 (except
openjdk-21 itself).
[Other info]
Introducing openjdk-21 to focal and jammy is a low risk change due to the lack of reverse dependencies.
Introducing openjdk-21 is important as the build environments are typically based on stable releases and user will be switching to the latest Java LTS.
[1] https://launchpad.net/~vpa1977/+archive/ubuntu/openjdk-21-jtreg7
[2] https://launchpad.net/~openjdk-r/+archive/ubuntu/ppa
[3] https://launchpad.net/~vpa1977/+archive/ubuntu/openjdk-21-rebuild
[4] https://launchpad.net/~vpa1977/+archive/ubuntu/openjdk-21-notests
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/openjdk-21/+bug/2036873/+subscriptions
More information about the Ubuntu-sponsors
mailing list