--- jsr166/src/test/tck/ReentrantReadWriteLockTest.java 2009/11/21 10:25:05 1.37 +++ jsr166/src/test/tck/ReentrantReadWriteLockTest.java 2009/11/21 21:59:50 1.38 @@ -215,10 +215,11 @@ public class ReentrantReadWriteLockTest lock.writeLock().lock(); Thread t = new Thread(new CheckedInterruptedRunnable() { public void realRun() throws InterruptedException { - lock.writeLock().tryLock(1000,MILLISECONDS); + lock.writeLock().tryLock(SMALL_DELAY_MS, MILLISECONDS); }}); t.start(); + Thread.sleep(SHORT_DELAY_MS); t.interrupt(); lock.writeLock().unlock(); t.join();