src/java.base/share/classes/java/util/concurrent/atomic/AtomicReference.java
changeset 49565 b5705ade8c8d
parent 47216 71c04702a3d5
child 58657 6252605fb005
equal deleted inserted replaced
49564:260bf39376a4 49565:b5705ade8c8d
    54     static {
    54     static {
    55         try {
    55         try {
    56             MethodHandles.Lookup l = MethodHandles.lookup();
    56             MethodHandles.Lookup l = MethodHandles.lookup();
    57             VALUE = l.findVarHandle(AtomicReference.class, "value", Object.class);
    57             VALUE = l.findVarHandle(AtomicReference.class, "value", Object.class);
    58         } catch (ReflectiveOperationException e) {
    58         } catch (ReflectiveOperationException e) {
    59             throw new Error(e);
    59             throw new ExceptionInInitializerError(e);
    60         }
    60         }
    61     }
    61     }
    62 
    62 
    63     private volatile V value;
    63     private volatile V value;
    64 
    64