431 |
|
* (and/or links to other results) to combine. |
432 |
|
* |
433 |
|
* @param caller the task invoking this method (which may |
434 |
< |
* be this task itself). |
434 |
> |
* be this task itself) |
435 |
|
*/ |
436 |
|
public void onCompletion(CountedCompleter<?> caller) { |
437 |
|
} |
449 |
|
* |
450 |
|
* @param ex the exception |
451 |
|
* @param caller the task invoking this method (which may |
452 |
< |
* be this task itself). |
452 |
> |
* be this task itself) |
453 |
|
* @return true if this exception should be propagated to this |
454 |
< |
* task's completer, if one exists. |
454 |
> |
* task's completer, if one exists |
455 |
|
*/ |
456 |
|
public boolean onExceptionalCompletion(Throwable ex, CountedCompleter<?> caller) { |
457 |
|
return true; |
704 |
|
private static final long PENDING; |
705 |
|
static { |
706 |
|
try { |
707 |
< |
U = sun.misc.Unsafe.getUnsafe(); |
707 |
> |
U = getUnsafe(); |
708 |
|
PENDING = U.objectFieldOffset |
709 |
|
(CountedCompleter.class.getDeclaredField("pending")); |
710 |
|
} catch (Exception e) { |