< prev index next >
test/jdk/com/sun/jdi/RunToExit.java
Print this page
rev 51638 : [mq]: 8210112
*** 22,35 ****
*/
/* @test
* @bug 4997445
* @summary Test that with server=y, when VM runs to System.exit() no error happens
! * @library /lib/testlibrary
* @modules java.management
* jdk.jdi
! * @build jdk.testlibrary.* VMConnection RunToExit Exit0
* @run driver RunToExit
*/
import java.net.ServerSocket;
import com.sun.jdi.Bootstrap;
import com.sun.jdi.VirtualMachine;
--- 22,35 ----
*/
/* @test
* @bug 4997445
* @summary Test that with server=y, when VM runs to System.exit() no error happens
! * @library /test/lib
* @modules java.management
* jdk.jdi
! * @build VMConnection RunToExit Exit0
* @run driver RunToExit
*/
import java.net.ServerSocket;
import com.sun.jdi.Bootstrap;
import com.sun.jdi.VirtualMachine;
*** 40,50 ****
import java.util.Map;
import java.util.List;
import java.util.Iterator;
import java.util.concurrent.TimeUnit;
import java.util.stream.Collectors;
! import jdk.testlibrary.ProcessTools;
public class RunToExit {
/* Increment this when ERROR: seen */
static volatile int error_seen = 0;
--- 40,50 ----
import java.util.Map;
import java.util.List;
import java.util.Iterator;
import java.util.concurrent.TimeUnit;
import java.util.stream.Collectors;
! import jdk.test.lib.process.ProcessTools;
public class RunToExit {
/* Increment this when ERROR: seen */
static volatile int error_seen = 0;
< prev index next >