jdk-24/test/jdk/java/foreign/security.policy
Per Minborg b408a82f9b 8314260: Unable to load system libraries on Windows when using a SecurityManager
Co-authored-by: Jorn Vernee <jvernee@openjdk.org>
Reviewed-by: jvernee
2023-09-07 11:52:14 +00:00

8 lines
331 B
Plaintext

grant codeBase "file:${test.classes}/*" {
// Permissions needed to run the test
permission java.util.PropertyPermission "os.name", "read";
permission java.util.PropertyPermission "NativeTestHelper.DEFAULT_RANDOM.seed", "read";
permission java.lang.RuntimePermission "accessClassInPackage.jdk.internal.foreign";
};