c25dd16233
Changed RMI tests to use random port numbers for the RMI Registry and RMID so the tests can be run concurrently without test failures due to tests using the same port numbers. Reviewed-by: smarks, alanb
14 lines
671 B
Plaintext
14 lines
671 B
Plaintext
grant codeBase "file:${java.home}/lib/ext/*" {
|
|
permission java.security.AllPermission;
|
|
};
|
|
|
|
grant {
|
|
permission java.net.SocketPermission "*:1024-", "accept,connect,listen";
|
|
permission java.lang.RuntimePermission "accessClassInPackage.sun.rmi.registry";
|
|
permission java.lang.RuntimePermission "accessClassInPackage.sun.rmi.server";
|
|
permission java.lang.RuntimePermission "accessClassInPackage.sun.rmi.transport";
|
|
permission java.lang.RuntimePermission "accessClassInPackage.sun.rmi.transport.proxy";
|
|
permission java.lang.RuntimePermission "accessClassInPackage.sun.rmi.transport.tcp";
|
|
permission java.lang.RuntimePermission "setFactory";
|
|
};
|