Skip to content

Conversation

@MarkEWaite
Copy link
Contributor

Test with Java 25 and Java 21

Java 25 released September 16, 2025. The Jenkins project wants to support Java 25 soon. Compile and test on ci.jenkins.io with Java 25 and Java 21.

Intentionally continues to generate Java 17 byte code as configured by the plugin parent pom.

Does not compile or test with Java 17 any longer because we have found no issues in the past that were specific to the Java 17 compiler. The plan is to drop support for Java 17 in the not too distant future so that the Jenkins project is only supporting two major Java versions at a time, Java 21 and Java 25.

Testing done

  • Confirmed that automated tests pass with Java 25

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

Java 25 released September 16, 2025.  The Jenkins project wants to support
Java 25 soon.  Compile and test on ci.jenkins.io with Java 25 and Java 21.

Intentionally continues to generate Java 17 byte code as configured by
the plugin parent pom.

Does not compile or test with Java 17 any longer because we have found no
issues in the past that were specific to the Java 17 compiler.  The plan
is to drop support for Java 17 in the not too distant future so that the
Jenkins project is only supporting two major Java versions at a time,
Java 21 and Java 25.

Testing done:

* Confirmed that automated tests pass with Java 25
@MarkEWaite MarkEWaite requested a review from a team as a code owner October 26, 2025 11:27
@MarkEWaite MarkEWaite closed this Oct 27, 2025
@MarkEWaite MarkEWaite deleted the test-with-java-25 branch October 27, 2025 02:54
@MarkEWaite MarkEWaite restored the test-with-java-25 branch October 27, 2025 03:11
@MarkEWaite MarkEWaite reopened this Oct 27, 2025
@MarkEWaite
Copy link
Contributor Author

@krisstern since you're a maintainer of this plugin, could you review and merge this pull request?

@MarkEWaite
Copy link
Contributor Author

@krisstern would it be better for me to submit an adoption request?

@krisstern
Copy link
Member

Hi @MarkEWaite sorry I missed your messages earlier. Let me review and merge over the next few hours.

Copy link
Member

@krisstern krisstern left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@krisstern krisstern merged commit 0a63eae into jenkinsci:master Nov 22, 2025
20 checks passed
@MarkEWaite MarkEWaite deleted the test-with-java-25 branch November 22, 2025 23:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants