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

Comparing jsr166/src/main/java/util/concurrent/CancellableTask.java (file contents):
Revision 1.7 by dl, Sun Jul 13 22:51:51 2003 UTC vs.
Revision 1.8 by dl, Mon Aug 4 12:46:34 2003 UTC

# Line 39 | Line 39 | public class CancellableTask implements
39      private static final Object CANCELLED = new Object();
40  
41      private static AtomicReferenceFieldUpdater<CancellableTask, Object>
42 <        runnerUpdater = new AtomicReferenceFieldUpdater<CancellableTask, Object>(new CancellableTask[0], new Object[0], "runner");
42 >        runnerUpdater = new AtomicReferenceFieldUpdater<CancellableTask, Object>(CancellableTask.class, Object.class, "runner");
43  
44      /**
45       * The runnable underlying this task

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines