view test/com/sun/tools/attach/java.policy.deny @ 8085:d692ca2d0da3

8041979: sun/jvmstat/monitor/MonitoredVm/CR6672135.java failing on all platforms Reviewed-by: sla, alanb
author aeriksso
date Thu, 09 Oct 2014 16:20:53 +0200
parents 37a05a11f281
children 9c008aa88919
line wrap: on
line source
/*
 *
 *
 * 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";
};