< prev index next >

test/java/rmi/activation/Activatable/restartLatecomer/RestartLatecomer.java

Print this page

        

@@ -20,11 +20,11 @@
  * or visit www.oracle.com if you need additional information or have any
  * questions.
  */
 
 /* @test
- * @bug 4526514
+ * @bug 4526514 8085192
  * @summary rmid does not handle group restart for latecomer objects
  * @author Ann Wollrath
  *
  * @library ../../../testlibrary
  * @modules java.rmi/sun.rmi.registry

@@ -163,13 +163,11 @@
 
         RMID rmid = null;
         RestartLatecomer callbackObj = null;
 
         try {
-            RMID.removeLog();
-            rmid = RMID.createRMID();
-            rmid.start();
+            rmid = RMID.launch();
 
             /* Cause activation groups to have a security policy that will
              * allow security managers to be downloaded and installed
              */
             Properties p = new Properties();
< prev index next >