28 |
|
public class ForkJoinTaskTest extends JSR166TestCase { |
29 |
|
|
30 |
|
public static void main(String[] args) { |
31 |
< |
junit.textui.TestRunner.run (suite()); |
31 |
> |
junit.textui.TestRunner.run(suite()); |
32 |
|
} |
33 |
|
public static Test suite() { |
34 |
|
return new TestSuite(ForkJoinTaskTest.class); |
44 |
|
|
45 |
|
static final ForkJoinPool mainPool = new ForkJoinPool(); |
46 |
|
static final ForkJoinPool singletonPool = new ForkJoinPool(1); |
47 |
< |
static final ForkJoinPool asyncSingletonPool = |
47 |
> |
static final ForkJoinPool asyncSingletonPool = |
48 |
|
new ForkJoinPool(1, ForkJoinPool.defaultForkJoinWorkerThreadFactory, |
49 |
|
null, true); |
50 |
|
static final class FJException extends RuntimeException { |