ViewVC Help
View File | Revision Log | Show Annotations | Download File | Root Listing
root/jsr166/jsr166/src/main/java/util/concurrent/ForkJoinTask.java
(Generate patch)

Comparing jsr166/src/main/java/util/concurrent/ForkJoinTask.java (file contents):
Revision 1.137 by jsr166, Thu Jun 4 13:37:22 2020 UTC vs.
Revision 1.138 by jsr166, Thu Jun 4 14:11:36 2020 UTC

# Line 1474 | Line 1474 | public abstract class ForkJoinTask<V> im
1474      }
1475  
1476      /**
1477 <     * Returns a new {@code ForkJoinTask} that performs the {@code
1478 <     * call} method of the given {@code Callable} as its action, and
1479 <     * returns its result upon {@link #join}, translating any checked
1480 <     * exceptions encountered into {@code
1481 <     * RuntimeException}. Additionally, invocations of {@code cancel}
1482 <     * with {@code mayInterruptIfRunning true} will attempt to
1483 <     * interrupt the thread performing the task.
1477 >     * Returns a new {@code ForkJoinTask} that performs the {@code call}
1478 >     * method of the given {@code Callable} as its action, and returns
1479 >     * its result upon {@link #join}, translating any checked exceptions
1480 >     * encountered into {@code RuntimeException}.  Additionally,
1481 >     * invocations of {@code cancel} with {@code mayInterruptIfRunning
1482 >     * true} will attempt to interrupt the thread performing the task.
1483       *
1484       * @param callable the callable action
1485       * @param <T> the type of the callable's result

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines