# | 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; } |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |