Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[JDK18+] Set java.security.manager property for system tests
In JDK18+, java.security.manager == null behaves as -Djava.security.manager=disallow. In JDK17-, java.security.manager == null behaves as -Djava.security.manager=allow. In case of system tests, the base infra (STF) which is used to launch tests utilizes the security manager in net.adoptopenjdk.loadTest.LoadTest.overrideSecurityManager. For system tests to work as expected, -Djava.security.manager=allow behaviour is needed in JDK18+. Related: eclipse-openj9/openj9#14412 Signed-off-by: Babneet Singh <[email protected]>
- Loading branch information