Skip to content

Test with Java 21 #109

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

Merged
merged 3 commits into from
Oct 16, 2023
Merged

Test with Java 21 #109

merged 3 commits into from
Oct 16, 2023

Conversation

MarkEWaite
Copy link
Contributor

Test with Java 21

Java 21 was released Sep 19, 2023. We want to announce full support for Java 21 in early October and would like the most used plugins to be compiled and tested 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 we believe that the risk of a regression that only affects Java 11 is 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.

Supersedes pull request:

Testing done

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

dependabot bot and others added 2 commits October 1, 2023 07:27
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] <[email protected]>
Java 21 was released Sep 19, 2023. We want to announce full support
for Java 21 in early October and would like the most used plugins to be
compiled and tested 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 we believe that the risk of a regression that only
affects Java 11 is 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 12, 2023 14:49
@jglick
Copy link
Member

jglick commented Oct 12, 2023

Loading trusted files from base branch master at 09fd647279b042b71ac15c782332b7cef42fc94e rather than ca83775b52b810fcd89d3e22abf69e4b843b3785

I still need to get back to work on jenkinsci/scm-api-plugin#180. Too much to do.

Remove the old changelog and link to a tagged version on GitHub.

Replace outdated jenkins-ci.org with jenkins.io domain name.

Link bug reporting to a page that offers bug, improvement, and security
reporting so that users are encouraged to report issues more accurately
and are encouraged to report security issues in the SECURITY project
rather than the JENKINS project.
auto-merge was automatically disabled October 15, 2023 13:10

Head branch was pushed to by a user without write access

@MarkEWaite
Copy link
Contributor Author

I pushed 3ff6a91 because I could not find a way to make ci.jenkins.io find the commits to build. It continued to report that the pull/109 branch could not be found.

@MarkEWaite
Copy link
Contributor Author

Tests are passing on ci.jenkins.io

@jglick jglick merged commit e2d624d into jenkinsci:master Oct 16, 2023
@MarkEWaite MarkEWaite deleted the test-with-java-21 branch October 21, 2023 20:34
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