9 |
|
import java.util.function.Consumer; |
10 |
|
import java.util.function.Predicate; |
11 |
|
import java.util.function.UnaryOperator; |
12 |
< |
import jdk.internal.misc.SharedSecrets; |
12 |
> |
// OPENJDK import jdk.internal.access.SharedSecrets; |
13 |
|
|
14 |
|
/** |
15 |
|
* Resizable-array implementation of the {@link Deque} interface. Array |
1240 |
|
|
1241 |
|
// Read in size and allocate array |
1242 |
|
int size = s.readInt(); |
1243 |
< |
SharedSecrets.getJavaObjectInputStreamAccess().checkArray(s, Object[].class, size + 1); |
1243 |
> |
jsr166.Platform.checkArray(s, Object[].class, size + 1); |
1244 |
|
elements = new Object[size + 1]; |
1245 |
|
this.tail = size; |
1246 |
|
|