--- jsr166/src/test/tck/SynchronousQueueTest.java 2009/11/21 02:07:27 1.14 +++ jsr166/src/test/tck/SynchronousQueueTest.java 2009/11/21 19:11:53 1.15 @@ -336,9 +336,9 @@ public class SynchronousQueueTest extend * returning timeout status */ public void testInterruptedTimedPoll() throws InterruptedException { + final SynchronousQueue q = new SynchronousQueue(); Thread t = new Thread(new CheckedInterruptedRunnable() { public void realRun() throws InterruptedException { - SynchronousQueue q = new SynchronousQueue(); q.poll(SMALL_DELAY_MS, MILLISECONDS); }});