--- jsr166/src/main/java/util/PriorityQueue.java 2016/12/29 23:14:34 1.118 +++ jsr166/src/main/java/util/PriorityQueue.java 2018/05/06 02:08:36 1.122 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2003, 2013, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2003, 2018, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it @@ -26,6 +26,7 @@ package java.util; import java.util.function.Consumer; +import jdk.internal.misc.SharedSecrets; /** * An unbounded priority {@linkplain Queue queue} based on a priority heap. @@ -73,7 +74,7 @@ import java.util.function.Consumer; * ({@code peek}, {@code element}, and {@code size}). * *
This class is a member of the
- *
+ *
* Java Collections Framework.
*
* @since 1.5
@@ -795,6 +796,7 @@ public class PriorityQueue