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

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

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

revision 1.27, Sat Jun 18 14:16:42 2011 UTC revision 1.28, Sat Jun 18 14:31:51 2011 UTC
# Line 471  Line 471 
471    
472          threadStarted.await();          threadStarted.await();
473          t.interrupt();          t.interrupt();
474          awaitTermination(t, MEDIUM_DELAY_MS);          awaitTermination(t);
475          checkNotDone(task);          checkNotDone(task);
476      }      }
477    
# Line 484  Line 484 
484          Thread t = newStartedThread(new CheckedInterruptedRunnable() {          Thread t = newStartedThread(new CheckedInterruptedRunnable() {
485              public void realRun() throws Exception {              public void realRun() throws Exception {
486                  threadStarted.countDown();                  threadStarted.countDown();
487                  task.get(LONG_DELAY_MS, MILLISECONDS);                  task.get(2*LONG_DELAY_MS, MILLISECONDS);
488              }});              }});
489    
490          threadStarted.await();          threadStarted.await();
491          t.interrupt();          t.interrupt();
492          awaitTermination(t, MEDIUM_DELAY_MS);          awaitTermination(t);
493          checkNotDone(task);          checkNotDone(task);
494      }      }
495    

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

Doug Lea
ViewVC Help
Powered by ViewVC 1.0.8