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

Comparing jsr166/src/test/tck/ThreadPoolExecutorTest.java (file contents):
Revision 1.38 by jsr166, Wed Nov 17 23:12:31 2010 UTC vs.
Revision 1.39 by jsr166, Tue Nov 30 02:12:52 2010 UTC

# Line 406 | Line 406 | public class ThreadPoolExecutorTest exte
406          try {
407              p.execute(new CheckedRunnable() {
408                  public void realRun() throws InterruptedException {
409                    threadStarted.countDown();
409                      assertFalse(p.isTerminated());
410 +                    threadStarted.countDown();
411                      done.await();
412                  }});
413              assertTrue(threadStarted.await(SMALL_DELAY_MS, MILLISECONDS));
414 +            assertFalse(p.isTerminating());
415              done.countDown();
416          } finally {
417              try { p.shutdown(); } catch (SecurityException ok) { return; }

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines