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 #173

Merged
merged 8 commits into from
Nov 19, 2023
Merged

Test with Java 21 #173

merged 8 commits into from
Nov 19, 2023

Conversation

MarkEWaite
Copy link
Contributor

@MarkEWaite MarkEWaite commented Sep 30, 2023

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 pull request also includes the contents of other pull requests that are needed in order to compile and test with Java 21. Those pull requests include:

The pull request also annotates two deprecated methods with @deprecated in order to silence a Java compiler warning.

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

dependabot bot and others added 5 commits August 17, 2023 16:49
Bumps [io.jenkins.tools.incrementals: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] <support@github.com>
Bumps [io.jenkins.tools.bom:bom-2.361.x](https://github.com/jenkinsci/bom) from 2081.v85885a_d2e5c5 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] <support@github.com>
Bumps [org.jenkins-ci.plugins:plugin](https://github.com/jenkinsci/plugin-pom) from 4.63 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@plugin-4.63...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] <support@github.com>
…-git-changelist-maven-extension-1.7', 'dependabot/maven/master/io.jenkins.tools.bom-bom-2.361.x-2102.v854b_fec19c92' and 'dependabot/maven/master/org.jenkins-ci.plugins-plugin-4.73' into test-with-java-21
Silence a compiler warning
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.

Drops testing of Java 11 in favor of testing with Java 17 and Java 21.

Continues testing both Windows and Linux
dependabot bot and others added 2 commits October 30, 2023 12:54
Bumps [org.jenkins-ci.plugins:plugin](https://github.com/jenkinsci/plugin-pom) from 4.63 to 4.75.
- [Release notes](https://github.com/jenkinsci/plugin-pom/releases)
- [Changelog](https://github.com/jenkinsci/plugin-pom/blob/master/CHANGELOG.md)
- [Commits](jenkinsci/plugin-pom@plugin-4.63...plugin-4.75)

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

Signed-off-by: dependabot[bot] <support@github.com>
@MarkEWaite
Copy link
Contributor Author

@jglick or @dwnusbaum or @rsandell would you be willing to review and merge this so that the plugin is regularly tested with Java 21? No need for a new release, just a merge is enough. Thanks!

@rsandell rsandell merged commit b78892c into jenkinsci:master Nov 19, 2023
14 checks passed
@MarkEWaite MarkEWaite deleted the test-with-java-21 branch November 19, 2023 12:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants