jdk-24/jdk/test/com/sun/tools/attach/java.policy.deny
2007-12-01 00:00:00 +00:00

20 lines
720 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";
permission java.util.PropertyPermission "java.io.tmpdir", "read";
/* to read configuration file in META-INF/services, and write/delete .attach_pid<pid> */
permission java.io.FilePermission "<<ALL FILES>>", "read,write,delete";
};