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.8 by jsr166, Tue Aug 4 20:41:40 2009 UTC vs.
Revision 1.9 by jsr166, Wed Aug 5 01:52:34 2009 UTC

# Line 390 | Line 390 | public abstract class ForkJoinTask<V> im
390  
391      /**
392       * Returns result or throws exception using j.u.c.Future conventions.
393 <     * Only call when {@code isDone} known to be true.
393 >     * Only call when {@code isDone} known to be true or thread known
394 >     * to be interrupted.
395       */
396      private V reportFutureResult()
397          throws InterruptedException, ExecutionException {
# Line 557 | Line 558 | public abstract class ForkJoinTask<V> im
558      /**
559       * Forks the given tasks, returning when {@code isDone} holds for
560       * each task or an (unchecked) exception is encountered, in which
561 <     * case the exception is rethrown.  If more than one task
562 <     * encounters an exception, then this method throws any one of
563 <     * these exceptions.  The individual status of each task may be
561 >     * case the exception is rethrown.  If either task encounters an
562 >     * exception, the other one may be, but is not guaranteed to be,
563 >     * cancelled.  If both tasks throw an exception, then this method
564 >     * throws one of them.  The individual status of each task may be
565       * checked using {@link #getException()} and related methods.
566       *
567       * <p>This method may be invoked only from within {@code

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines