--- jsr166/src/test/tck/AbstractQueuedSynchronizerTest.java 2009/11/18 08:22:57 1.26 +++ jsr166/src/test/tck/AbstractQueuedSynchronizerTest.java 2009/11/18 08:26:24 1.27 @@ -325,7 +325,7 @@ public class AbstractQueuedSynchronizerT /** * tryAcquireNanos is interruptible. */ - public void testInterruptedException2() { + public void testInterruptedException2() throws InterruptedException { final Mutex sync = new Mutex(); sync.acquire(1); Thread t = new Thread(new Runnable() { @@ -339,6 +339,7 @@ public class AbstractQueuedSynchronizerT t.start(); t.interrupt(); + t.join(); }