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

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

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

revision 1.83, Sat May 13 21:52:59 2017 UTC revision 1.84, Sat May 13 22:17:12 2017 UTC
# Line 340  Line 340 
340              }});              }});
341    
342          await(pleaseInterrupt);          await(pleaseInterrupt);
343          assertThreadStaysAlive(t);          assertThreadBlocks(t, Thread.State.WAITING);
344          t.interrupt();          t.interrupt();
345          awaitTermination(t);          awaitTermination(t);
346          assertEquals(SIZE, q.size());          assertEquals(SIZE, q.size());
# Line 402  Line 402 
402              }});              }});
403    
404          await(pleaseInterrupt);          await(pleaseInterrupt);
405          assertThreadStaysAlive(t);          assertThreadBlocks(t, Thread.State.TIMED_WAITING);
406          t.interrupt();          t.interrupt();
407          awaitTermination(t);          awaitTermination(t);
408      }      }

Legend:
Removed from v.1.83  
changed lines
  Added in v.1.84

Doug Lea
ViewVC Help
Powered by ViewVC 1.0.8