< prev index next >

test/java/rmi/activation/Activatable/checkActivateRef/CheckActivateRef.java

Print this page

        

@@ -20,11 +20,11 @@
  * or visit www.oracle.com if you need additional information or have any
  * questions.
  */
 
 /* @test
- * @bug 4105080
+ * @bug 4105080 8085192
  * @summary Activation retry during a remote method call to an activatable
  *          object can cause infinite recursion in some situations. The
  *          RemoteRef contained in the ActivatableRef should never be
  *          an ActivatableRef, but another type.
  * (Needs /othervm to evade JavaTest security manager --aecolley)

@@ -115,13 +115,11 @@
         CheckActivateRef server;
         try {
             TestLibrary.suggestSecurityManager(TestParams.defaultSecurityManager);
 
             // start an 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 >