Skip to content

Prepare for Java 25 release Sep 16, 2025 #496

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

MarkEWaite
Copy link
Contributor

Prepare for Java 25 release Sep 16, 2025

The Jenkins project strives to support new Java Long Term Support releases soon after they are released. Java 25 is the next LTS release and is scheduled to release Sep 16, 2025. The Jenkins project hopes to compile and test Jenkins core and the top 200 Jenkins plugins with Java 25 before Oct 31, 2025.

Without this change, the plugin does not compile with Java 24. We expect Java 25 will be a superset of Java 24, so let's fix compilation with Java 24 even though Jenkins does not support Java 24.

Also fixes a spotless formatting issue by updating the parent pom.

Supersedes pull requests:

Testing done

  • Confirmed that mvn spotless:apply does not change formatting with either Java 17 or Java 21
  • Confirmed that mvn clean verify passes on Linux with Java 24

Submitter checklist

  • Make sure you are opening from a topic/feature/bugfix branch (right side) and not your main branch!
  • Ensure that the pull request title represents the desired changelog entry
  • Please describe what you did
  • Link to relevant issues in GitHub or Jira
  • Link to relevant pull requests, esp. upstream and downstream changes
  • Ensure you have provided tests that demonstrate the feature works or the issue is fixed

The Jenkins project strives to support new Java Long Term Support
releases soon after they are released.  Java 25 is the next LTS release
and is scheduled to release Sep 16, 2025.  The Jenkins project hopes to
compile and test Jenkins core and the top 200 Jenkins plugins with Java
25 before Oct 31, 2025.

Without this change, the plugin does not compile with Java 24.  We expect
Java 25 will be a superset of Java 24, so let's fix compilation with
Java 24 even though Jenkins does not support Java 24.

Also fixes a spotless formatting issue by updating the parent pom.

Supersedes pull requests:

* jenkinsci#492
* jenkinsci#491

Testing done:

* Confirmed that `mvn spotless:apply` does not change formatting with
  either Java 17 or Java 21
* Confirmed that `mvn clean verify` passes on Linux with Java 24
@MarkEWaite MarkEWaite requested a review from jetersen as a code owner July 20, 2025 22:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant