< prev index next >

test/java/rmi/activation/Activatable/checkImplClassLoader/CheckImplClassLoader.java

Print this page

        

@@ -20,11 +20,11 @@
  * or visit www.oracle.com if you need additional information or have any
  * questions.
  */
 
 /* @test
- * @bug 4289544
+ * @bug 4289544 8085192
  * @summary ActivationGroupImpl.newInstance does not set context classloader for impl
  * @author Laird Dornin; code borrowed from Ann Wollrath
  *
  * @library ../../../testlibrary
  * @modules java.rmi/sun.rmi.registry

@@ -77,13 +77,11 @@
             TestLibrary.installClassInCodebase("ActivatableImpl_Stub",
                                                "implcb");
             TestLibrary.suggestSecurityManager(
                 TestParams.defaultSecurityManager);
 
-            RMID.removeLog();
-            rmid = RMID.createRMID();
-            rmid.start();
+            rmid = RMID.launch();
 
             System.err.println("Create activation group in this VM");
             ActivationGroupDesc groupDesc =
                 new ActivationGroupDesc(null, null);
             ActivationSystem system = ActivationGroup.getSystem();
< prev index next >