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

Comparing jsr166/src/test/tck/AbstractQueuedSynchronizerTest.java (file contents):
Revision 1.26 by jsr166, Wed Nov 18 08:22:57 2009 UTC vs.
Revision 1.27 by jsr166, Wed Nov 18 08:26:24 2009 UTC

# Line 325 | Line 325 | public class AbstractQueuedSynchronizerT
325      /**
326       * tryAcquireNanos is interruptible.
327       */
328 <    public void testInterruptedException2() {
328 >    public void testInterruptedException2() throws InterruptedException {
329          final Mutex sync = new Mutex();
330          sync.acquire(1);
331          Thread t = new Thread(new Runnable() {
# Line 339 | Line 339 | public class AbstractQueuedSynchronizerT
339  
340          t.start();
341          t.interrupt();
342 +        t.join();
343      }
344  
345  

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines