Require Java 21 or newer#26018
Merged
NotMyFault merged 4 commits intojenkinsci:masterfrom Jan 3, 2026
Merged
Conversation
As Java 25 is available for a couple of months now, it is time to drop support for Java 17. Starting with this commit, Jenkins supports only Java 21 and 25, or newer. See https://www.jenkins.io/blog/2023/11/06/introducing-2-2-2-java-support-plan/.
mawinter69
reviewed
Dec 30, 2025
This comment was marked as outdated.
This comment was marked as outdated.
Contributor
This was referenced Dec 31, 2025
Member
Signed-off-by: Alexander Brandes <mc.cache@web.de>
NotMyFault
approved these changes
Jan 2, 2026
jglick
approved these changes
Jan 2, 2026
Member
jglick
left a comment
There was a problem hiding this comment.
🎉
Some US_USELESS_SUPPRESSION_ON_CLASS probably due to javac changes.
timja
approved these changes
Jan 2, 2026
Member
|
/label ready-for-merge This PR is now ready for merge, after ~24 hours, we will merge it if there's no negative feedback. Thanks! |
This was referenced Jan 3, 2026
MarkEWaite
added a commit
to MarkEWaite/jenkins
that referenced
this pull request
Jan 4, 2026
Breaks plugin BOM This reverts commit 5312d24.
14 tasks
MarkEWaite
added a commit
to MarkEWaite/bom
that referenced
this pull request
Jan 4, 2026
Do not merge Includes pull requests that are currently marked as "Ready for merge": * jenkinsci/jenkins#26034 * jenkinsci/jenkins#26036 * jenkinsci/jenkins#26038 * jenkinsci/jenkins#26041 * jenkinsci/jenkins#26042 * jenkinsci/jenkins#26043 * jenkinsci/jenkins#26044 * jenkinsci/jenkins#26046 * jenkinsci/jenkins#26048 Reverts pull requests: * jenkinsci/jenkins#26018 * jenkinsci/jenkins#26049
4 tasks
MarkEWaite
added a commit
to MarkEWaite/acceptance-test-harness
that referenced
this pull request
Jan 4, 2026
Created from Jenkins core pull request: * jenkinsci/jenkins#26051 Includes ready to merge pull requests: * jenkinsci/jenkins#26034 * jenkinsci/jenkins#26036 * jenkinsci/jenkins#26038 * jenkinsci/jenkins#26041 * jenkinsci/jenkins#26042 * jenkinsci/jenkins#26043 * jenkinsci/jenkins#26044 * jenkinsci/jenkins#26046 * jenkinsci/jenkins#26048 Reverts pull requests: * jenkinsci/jenkins#26018 * jenkinsci/jenkins#26049
4 tasks
Closed
6 tasks
shalinisudarsan
pushed a commit
to shalinisudarsan/jenkins
that referenced
this pull request
Jan 6, 2026
Co-authored-by: Alexander Brandes <mc.cache@web.de> Co-authored-by: Tim Jacomb <21194782+timja@users.noreply.github.com> (cherry picked from commit 5312d24)
MarkEWaite
added a commit
to MarkEWaite/jenkins
that referenced
this pull request
Jan 6, 2026
Changed in the jenkins.io documentation with pull request: * jenkins-infra/jenkins.io#8680 Removes the backport of pull request: * jenkins-infra/jenkins.io#8675 Issue report: * jenkinsci#26039 This reverts commit 5afa4b4.
This was referenced Jan 7, 2026
This was referenced Jan 16, 2026
Merged
shalinisudarsan
pushed a commit
to shalinisudarsan/jenkins
that referenced
this pull request
Jan 29, 2026
Co-authored-by: Alexander Brandes <mc.cache@web.de> Co-authored-by: Tim Jacomb <21194782+timja@users.noreply.github.com> (cherry picked from commit 5312d24)
shalinisudarsan
pushed a commit
to shalinisudarsan/jenkins
that referenced
this pull request
Jan 29, 2026
Co-authored-by: Alexander Brandes <mc.cache@web.de> Co-authored-by: Tim Jacomb <21194782+timja@users.noreply.github.com> (cherry picked from commit 5312d24)
shalinisudarsan
pushed a commit
to shalinisudarsan/jenkins
that referenced
this pull request
Jan 29, 2026
Co-authored-by: Alexander Brandes <mc.cache@web.de> Co-authored-by: Tim Jacomb <21194782+timja@users.noreply.github.com> (cherry picked from commit 5312d24)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.


As Java 25 is available for a couple of months now, it is time to drop support for Java 17. When this PR is merged, Jenkins will support only Java 21 and 25, or newer.
See Java support plan and mailing list discussion.
Proposed changelog entries
Proposed changelog category
/label major-rfe
Proposed upgrade guidelines
N/A
Submitter checklist
@Restrictedor have@since TODOJavadocs, as appropriate.@Deprecated(since = "TODO")or@Deprecated(forRemoval = true, since = "TODO"), if applicable.evalto ease future introduction of Content Security Policy (CSP) directives (see documentation).Desired reviewers
@mention
Before the changes are marked as
ready-for-merge:Maintainer checklist
upgrade-guide-neededlabel is set and there is a Proposed upgrade guidelines section in the pull request title (see example).lts-candidateto be considered.