comparison test/java/rmi/activation/ActivateFailedException/activateFails/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:1bcfb1bacf6d 1:d261d960dcf0
19 19
20 // test uses these permissions to propagate security values to rmid 20 // test uses these permissions 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 // required for test to create an ActivationGroup 31 // required for test to create an ActivationGroup
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