ViewVC Help
View File | Revision Log | Show Annotations | Download File | Root Listing
root/jsr166/jsr166/src/main/java/util/concurrent/FutureTask.java
(Generate patch)

Comparing jsr166/src/main/java/util/concurrent/FutureTask.java (file contents):
Revision 1.27 by dl, Fri Jan 9 14:45:17 2004 UTC vs.
Revision 1.28 by dl, Sun Jan 11 16:02:17 2004 UTC

# 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();

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines