< prev index next >

test/java/rmi/activation/Activatable/createPrivateActivable/CreatePrivateActivatable.java

Print this page

        

@@ -20,11 +20,11 @@
  * or visit www.oracle.com if you need additional information or have any
  * questions.
  */
 
 /* @test
- * @bug 4164971
+ * @bug 4164971 8085192
  * @summary allow non-public activatable class and/or constructor
  * @author Laird Dornin
  *
  * @library ../../../testlibrary
  * @modules java.rmi/sun.rmi.registry

@@ -100,13 +100,11 @@
         CreatePrivateActivatable 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 >