2842 |
|
} |
2843 |
|
|
2844 |
|
// VarHandle mechanics |
2845 |
< |
private static final VarHandle RESULT; |
2845 |
> |
private static final VarHandle RESULT; |
2846 |
|
private static final VarHandle STACK; |
2847 |
|
private static final VarHandle NEXT; |
2848 |
|
static { |
2849 |
|
try { |
2850 |
|
MethodHandles.Lookup l = MethodHandles.lookup(); |
2851 |
< |
RESULT = l.findVarHandle(CompletableFuture.class, "result", Object.class); |
2851 |
> |
RESULT = l.findVarHandle(CompletableFuture.class, "result", Object.class); |
2852 |
|
STACK = l.findVarHandle(CompletableFuture.class, "stack", Completion.class); |
2853 |
|
NEXT = l.findVarHandle(Completion.class, "next", Completion.class); |
2854 |
|
} catch (ReflectiveOperationException e) { |