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

Print this page
rev 9077 : 8031179: update RMI tests to declare othervm explicitly
Summary: The /othervm declaration should be added to all the RMI tests and the RMI directories removed from the othervm.dirs property
Reviewed-by: smarks
Contributed-by: Eric Wang <yiming.wang@oracle.com>

*** 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;