Skip to content

Support Java 21 through Java 25 class versions - #146

Merged
MarkEWaite merged 5 commits into
jenkinsci:masterfrom
MarkEWaite:test-with-java-25
Jan 4, 2026
Merged

Support Java 21 through Java 25 class versions#146
MarkEWaite merged 5 commits into
jenkinsci:masterfrom
MarkEWaite:test-with-java-25

Conversation

@MarkEWaite

Copy link
Copy Markdown
Contributor

Support Java 21 through Java 25 class versions

Fixes #145

Fixes issue detected in plugin BOM pull request:

Also updates the Jenkinsfile to test with Java 25 and Java 21.

Also updates the parent pom to require Java 21 or newer.

Testing done

Confirmed that the newly added automated test fails if the Java class version of the current JVM is not included in the list of known Java class versions.

Confirmed that the newly added automated test passes with this pull request.

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

Require Java 21 or newer
Java 21 and Java 25 are unknown, cannot be converted
Allow a Java specification version to be converted to a Java class version.

Fixes issue detected in plugin BOM pull request:

* jenkinsci/bom#6179
@MarkEWaite
MarkEWaite merged commit 361c36b into jenkinsci:master Jan 4, 2026
14 checks passed
@MarkEWaite
MarkEWaite deleted the test-with-java-25 branch January 4, 2026 13:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Support Java class versions for Java 21 through Java 25

2 participants