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 |
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. |