Skip to content

Test with Java 21#273

Merged
jglick merged 1 commit intojenkinsci:masterfrom
MarkEWaite:test-with-java-21
Oct 2, 2023
Merged

Test with Java 21#273
jglick merged 1 commit intojenkinsci:masterfrom
MarkEWaite:test-with-java-21

Conversation

@MarkEWaite
Copy link
Contributor

Test with Java 21

Java 21 released Sep 19, 2023. We'd like to announce full support for Java 21 in early October and would like the most used plugins to be compiling and testing with Java 21.

The acceptance test harness and plugin bill of materials tests are already passing with Java 21. This is a further step to improve plugin readiness for use with Java 21 and for development with Java 21.

The change intentionally tests only two Java configurations, Java 17 and Java 21 because I believe that the risk of a regression that only affects Java 11 is very low. We generate Java 11 byte code with the Java 17 and the Java 21 builds, so we're already testing Java 11 byte code.

Testing done

Confirmed tests pass with Java 21

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 demonstrates feature works or fixes the issue

Java 21 released Sep 19, 2023. We'd like to announce full support for
Java 21 in early October and would like the most used plugins to be
compiling and testing with Java 21.

The acceptance test harness and plugin bill of materials tests are already
passing with Java 21. This is a further step to improve plugin readiness
for use with Java 21 and for development with Java 21.

The change intentionally tests only two Java configurations, Java 17
and Java 21 because I believe that the risk of a regression that only
affects Java 11 is very low. We generate Java 11 byte code with the Java
17 and the Java 21 builds, so we're already testing Java 11 byte code.
@MarkEWaite MarkEWaite requested a review from a team as a code owner October 1, 2023 15:28
@jglick jglick added the chore label Oct 2, 2023
@jglick jglick merged commit efdde13 into jenkinsci:master Oct 2, 2023
@MarkEWaite MarkEWaite deleted the test-with-java-21 branch October 5, 2023 09: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