Prepare for Java 25 release Sep 16, 2025#176
Prepare for Java 25 release Sep 16, 2025#176MarkEWaite wants to merge 1 commit intojenkinsci:masterfrom
Conversation
Java 25 is the next Java Long Term Support release. It is scheduled to release Sep 16, 2025. The Jenkins project intends to support new Java LTS releases soon after they are available. The initial goal is to have Jenkins core and the top 200 plugins compiling and testing with Java 25 by Oct 31, 2025. Without these changes, the plugin does not compile with Java 24. Since we can expect that Java 25 will be a superset of Java 24, this update will help prepare the plugin to eventually be compiled and tested with Java 25. The changes include: * Update parent pom from 5.5 to 5.18 (most recent parent pom) * Remove 3 spotbugs suppressions that are no longer necessary Testing done: Confirmed that `mvn clean verify` passes with the changes.
|
Will review and possibly merge towards the next release that happens anyway. |
|
Superseded by #180. |
Does jenkinsci/plugin-pom#1175 mean this PR was incomplete and needs another followup? |
Yes, if your expectation was that this PR was all that was required to compile and test the plugin with Java 25, then this PR was incomplete. This PR was known to not be enough to compile and test the plugin with Java 25. That's why I described it with the phrase:
The Java byte code manipulation libraries used to compile and test Jenkins plugins need to support Java 25. Tools that use ASM (like license maven plugin and spotless) will need to update to ASM 9.8. License maven plugin 184.v19c87b_6b_a_9a_c uses ASM 9.8 but is not yet included in a released pom file. The palantir Java formatter we use inside the spotless Maven plugin needs to be updated to 2.73.0 that was released last week (at least for the git client plugin use of spotless). Pull requests for the Palantir Java Format upgrade have been submitted as: Tools that use bytebuddy like mockito need to be using bytebuddy 1.17.5 or later for Java 25 support. The mockito 5.18.0 release currently available from the plugin pom is already using bytebuddy 1.17.5. |
|
I see, thanks for the clarification. |
Prepare for Java 25 release Sep 16, 2025
Java 25 is the next Java Long Term Support release. It is scheduled to release Sep 16, 2025. The Jenkins project intends to support new Java LTS releases soon after they are available. The initial goal is to have Jenkins core and the top 200 plugins compiling and testing with Java 25 by Oct 31, 2025.
Without these changes, the plugin does not compile with Java 24. Since we can expect that Java 25 will be a superset of Java 24, this update will help prepare the plugin to eventually be compiled and tested with Java 25.
The changes include:
Testing done
Confirmed that
mvn clean verifypasses with the changes.Submitter checklist