test/java/rmi/server/UnicastRemoteObject/exportObject/GcDuringExport.java

Print this page

        

@@ -28,11 +28,11 @@
 /*
  * @test
  * @bug 6597112
  * @summary GC'ing objects whilst being exported to RMI should not cause exceptions
  * @author Neil Richards <neil.richards@ngmr.net>, <neil_richards@uk.ibm.com>
- * @run main GcDuringExport
+ * @run main/othervm GcDuringExport
  */
 
 import java.rmi.Remote;
 import java.rmi.server.UnicastRemoteObject;