# | Line 535 | Line 535 | public class ScheduledExecutorSubclassTe | |
---|---|---|
535 | try { | |
536 | p.execute(new CheckedRunnable() { | |
537 | public void realRun() throws InterruptedException { | |
538 | – | threadStarted.countDown(); |
538 | assertFalse(p.isTerminated()); | |
539 | + | threadStarted.countDown(); |
540 | done.await(); | |
541 | }}); | |
542 | assertTrue(threadStarted.await(SMALL_DELAY_MS, MILLISECONDS)); | |
543 | + | assertFalse(p.isTerminating()); |
544 | done.countDown(); | |
545 | } finally { | |
546 | try { p.shutdown(); } catch (SecurityException ok) { return; } |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |