< prev index next >
test/jdk/java/nio/channels/Selector/Wakeup.java
Print this page
rev 51731 : imported patch 8210732
@@ -22,11 +22,11 @@
*/
/* @test
* @bug 6405995
* @summary Unit test for selector wakeup and interruption
- * @library .. /lib/testlibrary/
+ * @library .. /test/lib
*/
import java.io.*;
import java.net.*;
import java.nio.*;
@@ -42,11 +42,11 @@
x.printStackTrace();
}
}
static class Sleeper extends TestThread {
- private static final long TIMEOUT = jdk.testlibrary.Utils.adjustTimeout(20_000);
+ private static final long TIMEOUT = jdk.test.lib.Utils.adjustTimeout(20_000);
// barrier is used to synchronize sleeper thread and checking
// thread which is the main thread: when go() get to the end,
// then start checking the sleeper's status.
private static CyclicBarrier barrier = new CyclicBarrier(2);
< prev index next >