src/java.base/share/classes/java/util/concurrent/atomic/AtomicReferenceArray.java
changeset 58657 6252605fb005
parent 47216 71c04702a3d5
equal deleted inserted replaced
58656:7322c48a84cf 58657:6252605fb005
    53  */
    53  */
    54 public class AtomicReferenceArray<E> implements java.io.Serializable {
    54 public class AtomicReferenceArray<E> implements java.io.Serializable {
    55     private static final long serialVersionUID = -6209656149925076980L;
    55     private static final long serialVersionUID = -6209656149925076980L;
    56     private static final VarHandle AA
    56     private static final VarHandle AA
    57         = MethodHandles.arrayElementVarHandle(Object[].class);
    57         = MethodHandles.arrayElementVarHandle(Object[].class);
       
    58     @SuppressWarnings("serial") // Conditionally serializable
    58     private final Object[] array; // must have exact type Object[]
    59     private final Object[] array; // must have exact type Object[]
    59 
    60 
    60     /**
    61     /**
    61      * Creates a new AtomicReferenceArray of the given length, with all
    62      * Creates a new AtomicReferenceArray of the given length, with all
    62      * elements initially null.
    63      * elements initially null.