34 |
|
import java.util.function.BiFunction; |
35 |
|
import java.util.function.Consumer; |
36 |
|
import java.util.function.Function; |
37 |
< |
import jdk.internal.misc.SharedSecrets; |
37 |
> |
// OPENJDK import jdk.internal.access.SharedSecrets; |
38 |
|
|
39 |
|
/** |
40 |
|
* Hash table based implementation of the {@code Map} interface. This |
1444 |
|
|
1445 |
|
// Check Map.Entry[].class since it's the nearest public type to |
1446 |
|
// what we're actually creating. |
1447 |
< |
SharedSecrets.getJavaObjectInputStreamAccess().checkArray(s, Map.Entry[].class, cap); |
1447 |
> |
jsr166.Platform.checkArray(s, Map.Entry[].class, cap); |
1448 |
|
@SuppressWarnings({"rawtypes","unchecked"}) |
1449 |
|
Node<K,V>[] tab = (Node<K,V>[])new Node[cap]; |
1450 |
|
table = tab; |