jdk-24/test/jdk/com/sun/tools/attach/java.policy.deny
2017-09-12 19:03:39 +02:00

19 lines
650 B
Plaintext

/*
*
*
* Policy file used by unit tests for attach API
*/
grant {
permission com.sun.tools.attach.AttachPermission "createAttachProvider";
/* implementation specific */
permission java.lang.RuntimePermission "accessClassInPackage.sun.misc";
permission java.lang.RuntimePermission "accessClassInPackage.sun.tools.attach";
permission java.lang.RuntimePermission "loadLibrary.attach";
permission java.util.PropertyPermission "sun.jvmstat.*", "read";
/* to read configuration file in META-INF/services, and write/delete .attach_pid<pid> */
permission java.io.FilePermission "<<ALL FILES>>", "read,write,delete";
};