On Wed, 10 Jun 2026 12:54:21 GMT, Liam Miller-Cushon <[email protected]> wrote:
> This commit adds a `PriorityQueue` constructor that takes both a custom > comparator and an existing collection. > > See previous discussion in https://github.com/openjdk/jdk/pull/17045. > > --------- > - [x] I confirm that I make this contribution in accordance with the [OpenJDK > Interim AI Policy](https://openjdk.org/legal/ai). I have slightly tweaked the CSR so it's now up-to-date. src/java.base/share/classes/java/util/PriorityQueue.java line 1: > 1: /* Please update the copyright year of this file. test/jdk/java/util/concurrent/tck/PriorityQueueTest.java line 33: > 31: * http://creativecommons.org/publicdomain/zero/1.0/ > 32: * Other contributors include Andrew Wright, Jeffrey Hayes, > 33: * Pat Fisher, Mike Judd, Valeh Hajiyev. Let's roll this back. It's no longer standard practice to include author names in the tests or sources. ------------- PR Comment: https://git.openjdk.org/jdk/pull/31452#issuecomment-4670822854 PR Review Comment: https://git.openjdk.org/jdk/pull/31452#discussion_r3388727859 PR Review Comment: https://git.openjdk.org/jdk/pull/31452#discussion_r3388740591
