< prev index next >

test/java/rmi/activation/Activatable/nestedActivate/NestedActivate.java

Print this page

        

@@ -20,11 +20,11 @@
  * or visit www.oracle.com if you need additional information or have any
  * questions.
  */
 
 /* @test
- * @bug 4138056
+ * @bug 4138056 8085192
  * @summary synopsis: Activating objects from an Activatable constructor causes deadlock
  * @author Ann Wollrath
  *
  * @library ../../../testlibrary
  * @modules java.rmi/sun.rmi.registry

@@ -98,14 +98,11 @@
         TestLibrary.suggestSecurityManager("java.rmi.RMISecurityManager");
 
         RMID rmid = 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
              */
             final Properties p = new Properties();
             // this test must always set policies/managers in its
< prev index next >