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

Remove reliance on SecurityManager for Java 24 #142

Closed
theresa-m opened this issue Dec 13, 2024 · 1 comment · Fixed by #143
Closed

Remove reliance on SecurityManager for Java 24 #142

theresa-m opened this issue Dec 13, 2024 · 1 comment · Fixed by #143

Comments

@theresa-m
Copy link
Contributor

theresa-m commented Dec 13, 2024

In JDK 24 the security manager will be permanently disabled https://openjdk.org/jeps/486 and attempts to set a security manager will result in an error such as in LoadTest.overrideSecurityManager.

This system test framework relys on the security manager to intercept calls to System.exit.

In the JEP it is suggested to replace this type of use with a Java agent (see JEP 486 appendix for an example).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant