# | Line 308 | Line 308 | public class FutureTask<V> implements Ru | |
---|---|---|
308 | * nulls out callable. | |
309 | */ | |
310 | private void finishCompletion() { | |
311 | < | // assert state > NEW; |
311 | > | // assert state > COMPLETING; |
312 | for (WaitNode q; (q = waiters) != null;) { | |
313 | if (UNSAFE.compareAndSwapObject(this, waitersOffset, q, null)) { | |
314 | for (;;) { |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |