| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
Make JDK 25 the default for the official Docker image (docker-jdk) and the primary JDK in pulsar-ci / pulsar-ci-flaky, keeping JDK 21 as the secondary scheduled run. The Java 25 default was agreed on dev@; 5.0.0-M1 (branch-5.0-M1) keeps Java 21, so this targets the master / 5.0.0-M2 line. Assisted-by: Claude Code (Opus 4.8)
| Back | FazBrowse Home | New Git URL |
Motivation
Making JDK 25 the default was agreed on the dev@ mailing list:
https://lists.apache.org/thread/3zclb8cq0dt95c8f1lh83qxyyj11m8pq
As part of the release planning, 4.3.0 was renamed to 5.0.0-M1:
https://lists.apache.org/thread/1hyrcq11jbczdkmqqw07h5qq6fyfxoj7
5.0.0-M1 ships with Java 21 as the default and is being released from the
already-cut branch-5.0-M1. The switch to Java 25 lands in 5.0.0-M2, which
is the master development line now that the M1 release branch exists. This change
therefore targets master only; branch-5.0-M1 keeps Java 21 as its default.
Modifications
Docker image is built on JDK 25 by default.
— make JDK 25 the primary JDK and keep JDK 21 as the secondary scheduled run (swap):
0 12 * * * scheduled run) is now JDK 25; the special-cased 0 6 * * * scheduled run
now uses JDK 21.
matrix entries — those exercise specific runtime JDKs regardless of the primary build JDK,
so they are not part of the swap.
Verifying this change
This change is a trivial build/CI configuration change without dedicated test coverage; it is
exercised by the CI workflows themselves, which now build and test on JDK 25 by default.
Does this pull request potentially affect one of the following parts:
The official Pulsar Docker image is now built on JDK 25 by default (docker-jdk = "25").
This applies to the master / 5.0.0-M2 line only; the 5.0.0-M1 release (branch-5.0-M1)
continues to default to Java 21.