view test/java/rmi/activation/ActivationSystem/stubClassesPermitted/rmid.security.policy @ 17286:65464a307408

Added tag jdk-9+181 for changeset bd66ea2fdde3
author prr
date Thu, 03 Aug 2017 18:56:59 +0000
parents b2a69d66dc65
children
line wrap: on
line source
grant {
    permission com.sun.rmi.rmid.ExecOptionPermission "-Djava.security.manager=java.lang.SecurityManager";
    permission com.sun.rmi.rmid.ExecOptionPermission "-Djava.security.policy=*";

    // test needs to export a set of internal APIs to access them from unamed module
    permission com.sun.rmi.rmid.ExecOptionPermission "*";
    permission java.lang.RuntimePermission "selectorProvider";
    permission java.lang.RuntimePermission "accessClassInPackage.sun.nio.ch";
    permission java.util.PropertyPermission "test.java.rmi.testlibrary.RMIDSelectorProvider.port", "read";
    permission java.util.PropertyPermission "test.java.rmi.testlibrary.RMIDSelectorProvider.timeout", "read";
    permission java.net.SocketPermission "*:1024-", "listen,resolve,connect,accept";
};