jdk-24/jdk/test/java/lang/ClassLoader/forNameLeak/test.policy
Brent Christian 2d52d60a1e 8151486: Class.forName causes memory leak
Remove ClassLoader.domains

Reviewed-by: coleenp, dholmes, mchung, naoto
2016-10-07 12:01:24 -07:00

7 lines
279 B
Plaintext

grant {
permission java.io.FilePermission "<<ALL FILES>>", "read, write, delete";
permission java.lang.RuntimePermission "createClassLoader";
permission java.lang.RuntimePermission "getClassLoader";
permission java.util.PropertyPermission "*", "read"; /* for Utils */
};