jdk-24/test/jdk/java/lang/Class/forName/modules/policy.denied
2017-09-12 19:03:39 +02:00

12 lines
522 B
Plaintext

grant {
permission java.lang.RuntimePermission "setSecurityManager";
permission java.lang.RuntimePermission "getBootLayer";
permission java.lang.RuntimePermission "getClassLoader";
permission java.io.FilePermission "mods1", "read";
permission java.io.FilePermission "mods2", "read";
// only grant access to p1.* classes
// no access to p1.internal.* and p2.* classes
permission java.io.FilePermission "mods1/p1/*", "read";
permission java.util.PropertyPermission "user.dir", "read";
};