test/java/rmi/activation/ActivationSystem/unregisterGroup/UnregisterGroup.java

Print this page

        

@@ -74,11 +74,11 @@
         TestLibrary.suggestSecurityManager("java.rmi.RMISecurityManager");
         RMID rmid = null;
 
         try {
             RMID.removeLog();
-            rmid = RMID.createRMID();
+            rmid = RMID.createRMIDOnEphemeralPort();
             rmid.start();
 
             /* Cause activation groups to have a security policy that will
              * allow security managers to be downloaded and installed
              */