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

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

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

revision 1.30, Sat Mar 26 06:58:47 2016 UTC revision 1.31, Sat May 13 23:50:00 2017 UTC
# Line 526  Line 526 
526              }});              }});
527    
528          await(pleaseInterrupt);          await(pleaseInterrupt);
529          assertThreadStaysAlive(t);          assertThreadBlocks(t, Thread.State.TIMED_WAITING);
530          t.interrupt();          t.interrupt();
531          awaitTermination(t);          awaitTermination(t);
532      }      }
# Line 559  Line 559 
559              }});              }});
560    
561          await(pleaseInterrupt);          await(pleaseInterrupt);
562          assertThreadStaysAlive(t);          assertThreadBlocks(t, Thread.State.TIMED_WAITING);
563          t.interrupt();          t.interrupt();
564          awaitTermination(t);          awaitTermination(t);
565          s.interrupt();          s.interrupt();
# Line 590  Line 590 
590              }});              }});
591    
592          await(pleaseInterrupt);          await(pleaseInterrupt);
593          assertThreadStaysAlive(t);          assertThreadBlocks(t, Thread.State.TIMED_WAITING);
594          t.interrupt();          t.interrupt();
595          awaitTermination(t);          awaitTermination(t);
596      }      }

Legend:
Removed from v.1.30  
changed lines
  Added in v.1.31

Doug Lea
ViewVC Help
Powered by ViewVC 1.0.8