# | Line 233 | Line 233 | public class FutureTask<V> implements Fu | |
---|---|---|
233 | } | |
234 | ||
235 | V innerGet(long nanosTimeout) throws InterruptedException, ExecutionException, TimeoutException { | |
236 | < | if (!acquireSharedNanos(0, nanosTimeout)) |
236 | > | if (!tryAcquireSharedNanos(0, nanosTimeout)) |
237 | throw new TimeoutException(); | |
238 | if (getState() == CANCELLED) | |
239 | throw new CancellationException(); |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |