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

Support Java 19+ #37

Merged
merged 1 commit into from
Jun 10, 2024
Merged

Support Java 19+ #37

merged 1 commit into from
Jun 10, 2024

Conversation

basil
Copy link
Member

@basil basil commented Nov 18, 2022

The test suite uses Ant to run the tests, and Ant currently requires a security manager, which is disabled by default on Java 19+ (see bug 575210). This PR works around the problem by re-enabling the security manager when running the tests with Ant. I tested this by running the tests with Java 20, both with and without maven.compiler.release=20.

@basil basil added the test label Nov 18, 2022
@basil
Copy link
Member Author

basil commented Nov 18, 2022

This worked for Java 17, 19, and 20, but not Java 11, so this will have to wait until we drop support for Java 11.

@basil basil marked this pull request as draft November 18, 2022 01:39
@basil basil marked this pull request as ready for review June 10, 2024 20:03
@basil basil merged commit 304b9ed into jenkinsci:master Jun 10, 2024
13 checks passed
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.

1 participant