jdk-24/jdk/test/java/lang/invoke/findclass.security.policy
Michael Haupt 5b2c88e28a 8139885: implement JEP 274: enhanced method handles
Reviewed-by: jrose, psandoz, vlivanov
2015-11-20 15:34:12 +01:00

10 lines
271 B
Plaintext

/*
* Security policy used by the FindClassSecurityManager test.
* Must allow file reads so that jtreg itself can run, and getting class loaders.
*/
grant {
permission java.io.FilePermission "*", "read";
permission java.lang.RuntimePermission "getClassLoader";
};