comparison test/java/rmi/activation/Activatable/restartCrashedService/security.policy @ 5655:13d620adfddf

7142596: RMI JPRT tests are failing Summary: 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 Contributed-by: olivier.lagneau@oracle.com
author dmocek
date Sun, 24 Feb 2013 13:42:45 +0000
parents 37a05a11f281
children
comparison
equal deleted inserted replaced
0:b626aa90d29d 1:5cf8a3ea9b5e
19 19
20 // test rmid uses these properties to propagate security values to rmid 20 // test rmid uses these properties to propagate security values to rmid
21 permission java.util.PropertyPermission "java.security.policy", "read"; 21 permission java.util.PropertyPermission "java.security.policy", "read";
22 permission java.util.PropertyPermission "java.security.manager", "read"; 22 permission java.util.PropertyPermission "java.security.manager", "read";
23 23
24 // used by TestLibrary to determine test environment 24 // used by TestLibrary to determine test environment
25 permission java.util.PropertyPermission "test.classes", "read"; 25 permission java.util.PropertyPermission "test.classes", "read";
26 permission java.util.PropertyPermission "test.src", "read"; 26 permission java.util.PropertyPermission "test.src", "read";
27 permission java.util.PropertyPermission "user.dir", "read"; 27 permission java.util.PropertyPermission "user.dir", "read";
28 permission java.util.PropertyPermission "java.home", "read"; 28 permission java.util.PropertyPermission "java.home", "read";
29 permission java.util.PropertyPermission "java.rmi.activation.port", "write";
29 30
30 // Needed to create an activation group 31 // Needed to create an activation group
31 permission java.lang.RuntimePermission "setFactory"; 32 permission java.lang.RuntimePermission "setFactory";
32 33
33 // test needs to export rmid and communicate with objects on arbitrary ports 34 // test needs to export rmid and communicate with objects on arbitrary ports