Skip to content
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

Test with Java 21 #60

Merged
merged 5 commits into from
Oct 2, 2023
Merged

Test with Java 21 #60

merged 5 commits into from
Oct 2, 2023

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.

Includes pull request to update parent pom because that is required for Java 21 compile and test. The pull request is

Includes pull request to update plugin bill of materials and changelist maven extension because I didn't want to test without them.

Testing done

Confirmed tests pass with Java 21 on Linux.

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

dependabot bot and others added 5 commits June 1, 2023 00:56
Bumps [bom-2.361.x](https://github.com/jenkinsci/bom) from 2025.v816d28f1e04f to 2102.v854b_fec19c92.
- [Release notes](https://github.com/jenkinsci/bom/releases)
- [Commits](https://github.com/jenkinsci/bom/commits)

---
updated-dependencies:
- dependency-name: io.jenkins.tools.bom:bom-2.361.x
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <[email protected]>
Bumps [git-changelist-maven-extension](https://github.com/jenkinsci/incrementals-tools) from 1.6 to 1.7.
- [Release notes](https://github.com/jenkinsci/incrementals-tools/releases)
- [Commits](jenkinsci/incrementals-tools@parent-1.6...parent-1.7)

---
updated-dependencies:
- dependency-name: io.jenkins.tools.incrementals:git-changelist-maven-extension
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
Bumps [org.jenkins-ci.plugins:plugin](https://github.com/jenkinsci/plugin-pom) from 4.65 to 4.73.
- [Release notes](https://github.com/jenkinsci/plugin-pom/releases)
- [Changelog](https://github.com/jenkinsci/plugin-pom/blob/master/CHANGELOG.md)
- [Commits](jenkinsci/plugin-pom@4.65...plugin-4.73)

---
updated-dependencies:
- dependency-name: org.jenkins-ci.plugins:plugin
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
…2.v854b_fec19c92' and 'dependabot/maven/io.jenkins.tools.incrementals-git-changelist-maven-extension-1.7' into 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.
@MarkEWaite MarkEWaite requested a review from a team as a code owner October 1, 2023 15:20
@jglick jglick added the chore For changelog: A maintenance chore with no functional changes label Oct 2, 2023
@jglick jglick added dependencies and removed chore For changelog: A maintenance chore with no functional changes labels Oct 2, 2023
@jglick jglick merged commit 0e34e0a into jenkinsci:master Oct 2, 2023
13 checks passed
@MarkEWaite MarkEWaite deleted the test-with-java-21 branch October 5, 2023 09:19
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.

2 participants