27 |
|
|
28 |
|
import java.util.function.Consumer; |
29 |
|
import java.util.function.Predicate; |
30 |
< |
import jdk.internal.misc.SharedSecrets; |
30 |
> |
// OPENJDK import jdk.internal.access.SharedSecrets; |
31 |
|
|
32 |
|
/** |
33 |
|
* An unbounded priority {@linkplain Queue queue} based on a priority heap. |
803 |
|
// Read in (and discard) array length |
804 |
|
s.readInt(); |
805 |
|
|
806 |
< |
SharedSecrets.getJavaObjectInputStreamAccess().checkArray(s, Object[].class, size); |
806 |
> |
jsr166.Platform.checkArray(s, Object[].class, size); |
807 |
|
final Object[] es = queue = new Object[Math.max(size, 1)]; |
808 |
|
|
809 |
|
// Read in all elements. |