jdk/test/java/rmi/activation/ActivationSystem/activeGroup/rmid.security.policy
author mli
Mon, 12 Dec 2016 17:29:46 -0800
changeset 42667 e058e6cdb4cf
permissions -rw-r--r--
8166763: java/rmi/* tests fail intermittently with "Port already in use" in RMID.start() Reviewed-by: chegar

grant {
    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";
};