ViewVC Help
View File | Revision Log | Show Annotations | Download File | Root Listing
root/jsr166/jsr166/src/test/tck/SynchronousQueueTest.java
(Generate patch)

Comparing jsr166/src/test/tck/SynchronousQueueTest.java (file contents):
Revision 1.14 by jsr166, Sat Nov 21 02:07:27 2009 UTC vs.
Revision 1.15 by jsr166, Sat Nov 21 19:11:53 2009 UTC

# Line 336 | Line 336 | public class SynchronousQueueTest extend
336       * returning timeout status
337       */
338      public void testInterruptedTimedPoll() throws InterruptedException {
339 +        final SynchronousQueue q = new SynchronousQueue();
340          Thread t = new Thread(new CheckedInterruptedRunnable() {
341              public void realRun() throws InterruptedException {
341                SynchronousQueue q = new SynchronousQueue();
342                  q.poll(SMALL_DELAY_MS, MILLISECONDS);
343              }});
344  

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines