< prev index next >

test/jdk/com/sun/jdi/ExclusiveBind.java

Print this page
rev 51731 : imported patch 8210732

*** 23,38 **** /* @test * @bug 4531526 * @summary Test that more than one debuggee cannot bind to same port * at the same time. - * @library /lib/testlibrary * @library /test/lib * * @modules java.management * jdk.jdi ! * @build jdk.testlibrary.* VMConnection ExclusiveBind HelloWorld * @run driver ExclusiveBind */ import java.net.ServerSocket; import com.sun.jdi.Bootstrap; import com.sun.jdi.VirtualMachine; --- 23,37 ---- /* @test * @bug 4531526 * @summary Test that more than one debuggee cannot bind to same port * at the same time. * @library /test/lib * * @modules java.management * jdk.jdi ! * @build VMConnection ExclusiveBind HelloWorld * @run driver ExclusiveBind */ import java.net.ServerSocket; import com.sun.jdi.Bootstrap; import com.sun.jdi.VirtualMachine;
*** 44,54 **** import java.util.List; import java.util.Iterator; import java.util.concurrent.TimeUnit; import jdk.test.lib.process.ProcessTools; ! import jdk.testlibrary.Utils; public class ExclusiveBind { /* * Find a connector by name */ --- 43,53 ---- import java.util.List; import java.util.Iterator; import java.util.concurrent.TimeUnit; import jdk.test.lib.process.ProcessTools; ! import jdk.test.lib.Utils; public class ExclusiveBind { /* * Find a connector by name */
< prev index next >