jdk/test/java/rmi/registry/altSecurityManager/rmid.security.policy
author mli
Wed, 11 Jan 2017 19:36:11 -0800
changeset 43066 bc2234c64fbd
permissions -rw-r--r--
8172314: java/rmi/registry/altSecurityManager/AltSecurityManager.java fails with "port in use" Reviewed-by: rriggs
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
43066
bc2234c64fbd 8172314: java/rmi/registry/altSecurityManager/AltSecurityManager.java fails with "port in use"
mli
parents:
diff changeset
     1
grant {
bc2234c64fbd 8172314: java/rmi/registry/altSecurityManager/AltSecurityManager.java fails with "port in use"
mli
parents:
diff changeset
     2
  permission java.lang.RuntimePermission "selectorProvider";
bc2234c64fbd 8172314: java/rmi/registry/altSecurityManager/AltSecurityManager.java fails with "port in use"
mli
parents:
diff changeset
     3
  permission java.lang.RuntimePermission "accessClassInPackage.sun.nio.ch";
bc2234c64fbd 8172314: java/rmi/registry/altSecurityManager/AltSecurityManager.java fails with "port in use"
mli
parents:
diff changeset
     4
  permission java.util.PropertyPermission "test.java.rmi.testlibrary.RMIDSelectorProvider.port", "read";
bc2234c64fbd 8172314: java/rmi/registry/altSecurityManager/AltSecurityManager.java fails with "port in use"
mli
parents:
diff changeset
     5
  permission java.util.PropertyPermission "test.java.rmi.testlibrary.RMIDSelectorProvider.timeout", "read";
bc2234c64fbd 8172314: java/rmi/registry/altSecurityManager/AltSecurityManager.java fails with "port in use"
mli
parents:
diff changeset
     6
  permission java.net.SocketPermission "*:1024-", "listen,resolve,connect,accept";
bc2234c64fbd 8172314: java/rmi/registry/altSecurityManager/AltSecurityManager.java fails with "port in use"
mli
parents:
diff changeset
     7
};