578 |
|
* @throws NullPointerException if task is null |
579 |
|
* @throws RejectedExecutionException if pool is shut down |
580 |
|
*/ |
581 |
< |
public <T> void execute(ForkJoinTask<T> task) { |
581 |
> |
public void execute(ForkJoinTask<?> task) { |
582 |
|
doSubmit(task); |
583 |
|
} |
584 |
|
|
787 |
|
* Setting this value has no effect on current pool size. It |
788 |
|
* controls construction of new threads. |
789 |
|
* |
790 |
< |
* @throws IllegalArgumentException if negative or greater then |
790 |
> |
* @throws IllegalArgumentException if negative or greater than |
791 |
|
* internal implementation limit |
792 |
|
*/ |
793 |
|
public void setMaximumPoolSize(int newMax) { |