[cvs] / jsr166 / src / test / tck / AbstractQueuedSynchronizerTest.java Repository:
ViewVC logotype

Diff of /jsr166/src/test/tck/AbstractQueuedSynchronizerTest.java

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.26, Wed Nov 18 08:22:57 2009 UTC revision 1.27, Wed Nov 18 08:26:24 2009 UTC
# Line 325  Line 325 
325      /**      /**
326       * tryAcquireNanos is interruptible.       * tryAcquireNanos is interruptible.
327       */       */
328      public void testInterruptedException2() {      public void testInterruptedException2() throws InterruptedException {
329          final Mutex sync = new Mutex();          final Mutex sync = new Mutex();
330          sync.acquire(1);          sync.acquire(1);
331          Thread t = new Thread(new Runnable() {          Thread t = new Thread(new Runnable() {
# Line 339  Line 339 
339    
340          t.start();          t.start();
341          t.interrupt();          t.interrupt();
342            t.join();
343      }      }
344    
345    

Legend:
Removed from v.1.26  
changed lines
  Added in v.1.27

Doug Lea
ViewVC Help
Powered by ViewVC 1.0.8