diff 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
line wrap: on
line diff
--- a/test/java/rmi/activation/Activatable/restartCrashedService/security.policy	Thu Aug 09 17:42:55 2012 +0400
+++ b/test/java/rmi/activation/Activatable/restartCrashedService/security.policy	Sun Feb 24 13:42:45 2013 +0000
@@ -21,11 +21,12 @@
   permission java.util.PropertyPermission "java.security.policy", "read";
   permission java.util.PropertyPermission "java.security.manager", "read";
 
-  // used by TestLibrary to determine test environment 
+  // used by TestLibrary to determine test environment
   permission java.util.PropertyPermission "test.classes", "read";
   permission java.util.PropertyPermission "test.src", "read";
   permission java.util.PropertyPermission "user.dir", "read";
   permission java.util.PropertyPermission "java.home", "read";
+  permission java.util.PropertyPermission "java.rmi.activation.port", "write";
 
   // Needed to create an activation group
   permission java.lang.RuntimePermission "setFactory";