< prev index next >

test/java/rmi/activation/Activatable/checkRegisterInLog/CheckRegisterInLog.java

Print this page

        

@@ -20,11 +20,11 @@
  * or visit www.oracle.com if you need additional information or have any
  * questions.
  */
 
 /* @test
- * @bug 4110548
+ * @bug 4110548 8085192
  * @summary activate fails if rmid is restarted
  * @author Ann Wollrath
  *
  * @library ../../../testlibrary
  * @modules java.rmi/sun.rmi.registry

@@ -96,13 +96,11 @@
             TestLibrary.suggestSecurityManager("java.rmi.RMISecurityManager");
 
             /*
              * Start up activation system daemon "rmid".
              */
-            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 >