equal
deleted
inserted
replaced
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 |