11 |
|
import java.util.concurrent.locks.*; |
12 |
|
import java.security.*; |
13 |
|
|
14 |
< |
public class ForkJoinPoolTest extends JSR166TestCase{ |
14 |
> |
public class ForkJoinPoolTest extends JSR166TestCase { |
15 |
|
public static void main(String[] args) { |
16 |
|
junit.textui.TestRunner.run (suite()); |
17 |
|
} |
695 |
|
|
696 |
|
|
697 |
|
/** |
698 |
< |
* Blocking on submit(callable) throws InterruptedException if |
699 |
< |
* caller interrupted. |
698 |
> |
* Blocking on submit(callable) throws InterruptedException if |
699 |
> |
* caller interrupted. |
700 |
|
*/ |
701 |
|
public void testInterruptedSubmit() { |
702 |
|
final ForkJoinPool p = new ForkJoinPool(1); |
731 |
|
} |
732 |
|
|
733 |
|
/** |
734 |
< |
* get of submit(callable) throws ExecutionException if callable |
735 |
< |
* throws exception |
734 |
> |
* get of submit(callable) throws ExecutionException if callable |
735 |
> |
* throws exception |
736 |
|
*/ |
737 |
|
public void testSubmitEE() { |
738 |
|
ForkJoinPool p = new ForkJoinPool(1); |