< prev index next >

test/java/rmi/activation/Activatable/downloadParameterClass/DownloadParameterClass.java

Print this page

        

@@ -20,11 +20,11 @@
  * or visit www.oracle.com if you need additional information or have any
  * questions.
  */
 
 /* @test
- * @bug 4149366
+ * @bug 4149366 8085192
  * @summary The class loader used to load classes for parameter types sent in
  * an RMI call to an activatable object should delegate to the class loader
  * that loaded the class of the activatable object itself, to maximize the
  * likelihood of type compatibility between downloaded parameter types and
  * supertypes shared with the activatable object.

@@ -87,13 +87,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
              */
             Properties p = new Properties();
< prev index next >