2015-11-20 15:34:12 +01:00
|
|
|
/*
|
2019-09-10 10:35:52 -07:00
|
|
|
* Security policy used by the FindClassSecurityManager and
|
|
|
|
* MethodTypeSecurityManager test.
|
2015-11-20 15:34:12 +01:00
|
|
|
* 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";
|
|
|
|
};
|