test/java/rmi/server/UnicastRemoteObject/exportObject/GcDuringExport.java
Print this page
*** 28,38 ****
/*
* @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
*/
import java.rmi.Remote;
import java.rmi.server.UnicastRemoteObject;
--- 28,38 ----
/*
* @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/othervm GcDuringExport
*/
import java.rmi.Remote;
import java.rmi.server.UnicastRemoteObject;