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

Comparing jsr166/src/main/java/util/concurrent/ForkJoinTask.java (file contents):
Revision 1.91 by jsr166, Sun Jan 4 01:06:15 2015 UTC vs.
Revision 1.92 by jsr166, Sun Jan 4 09:15:11 2015 UTC

# Line 1472 | Line 1472 | public abstract class ForkJoinTask<V> im
1472      }
1473  
1474      // Unsafe mechanics
1475 <    private static final sun.misc.Unsafe U;
1475 >    private static final sun.misc.Unsafe U = sun.misc.Unsafe.getUnsafe();
1476      private static final long STATUS;
1477  
1478      static {
# Line 1480 | Line 1480 | public abstract class ForkJoinTask<V> im
1480          exceptionTableRefQueue = new ReferenceQueue<Object>();
1481          exceptionTable = new ExceptionNode[EXCEPTION_MAP_CAPACITY];
1482          try {
1483            U = sun.misc.Unsafe.getUnsafe();
1484            Class<?> k = ForkJoinTask.class;
1483              STATUS = U.objectFieldOffset
1484 <                (k.getDeclaredField("status"));
1484 >                (ForkJoinTask.class.getDeclaredField("status"));
1485          } catch (ReflectiveOperationException e) {
1486              throw new Error(e);
1487          }

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines