# | Line 235 | Line 235 | public class ForkJoinPoolTest extends JS | |
---|---|---|
235 | ForkJoinPool p = null; | |
236 | try { | |
237 | p = new ForkJoinPool(1); | |
238 | < | assertTrue(p.getPoolSize() == 0); |
238 | > | assertTrue(p.getActiveThreadCount() == 0); |
239 | Future<String> future = p.submit(new StringTask()); | |
240 | assertTrue(p.getPoolSize() == 1); | |
241 |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |