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

Comparing jsr166/src/main/java/util/concurrent/CopyOnWriteArrayList.java (file contents):
Revision 1.154 by jsr166, Mon Oct 1 00:10:53 2018 UTC vs.
Revision 1.155 by jsr166, Sun Nov 11 16:27:28 2018 UTC

# Line 33 | Line 33 | import java.util.Spliterators;
33   import java.util.function.Consumer;
34   import java.util.function.Predicate;
35   import java.util.function.UnaryOperator;
36 < import jdk.internal.misc.SharedSecrets;
36 > // OPENJDK import jdk.internal.access.SharedSecrets;
37  
38   /**
39   * A thread-safe variant of {@link java.util.ArrayList} in which all mutative
# Line 915 | Line 915 | public class CopyOnWriteArrayList<E>
915  
916          // Read in array length and allocate array
917          int len = s.readInt();
918 <        SharedSecrets.getJavaObjectInputStreamAccess().checkArray(s, Object[].class, len);
918 >        jsr166.Platform.checkArray(s, Object[].class, len);
919          Object[] es = new Object[len];
920  
921          // Read in all elements in the proper order.

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines