[Bug 2036873] Re: [SRU] Please provide openjdk-21 for focal, jammy and lunar

Vladimir Petko 2036873 at bugs.launchpad.net
Mon Nov 20 21:56:22 UTC 2023


Updated focal debdiff removing openjdk-20 dependency (version is out of
support and not present in the archive).


** Patch added: "openjdk-21-21.0.1+12-1_to_21.0.1+12-2~20.04.debdiff"
   https://bugs.launchpad.net/ubuntu/+source/openjdk-21/+bug/2036873/+attachment/5721313/+files/openjdk-21-21.0.1+12-1_to_21.0.1+12-2~20.04.debdiff

-- 
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, jammy and lunar

Status in openjdk-21 package in Ubuntu:
  Confirmed
Status in openjdk-21 source package in Focal:
  Fix Committed
Status in openjdk-21 source package in Jammy:
  Fix Committed
Status in openjdk-21 source package in Lunar:
  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) and currently supported development release
  (Lunar) 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. Lunar
  already contains Java 20 and Java 21.

  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]

  Lunar does not have jtreg7 7.3 required by openjdk and has jtreg 7.1,
  hence the Lunar package also have jtreg tests disabled in the GA
  upload.

  [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,  Jammy
  and Lunar.

  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).

  In Lunar we have early access build of Java 21 which will be replaced
  by a GA build.

  [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