Skip to content

Support Java 19+#37

Merged
basil merged 1 commit intojenkinsci:masterfrom
basil:java19
Jun 10, 2024
Merged

Support Java 19+#37
basil merged 1 commit intojenkinsci:masterfrom
basil:java19

Conversation

@basil
Copy link
Copy Markdown
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
Copy Markdown
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
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