> 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).
Liam Miller-Cushon has updated the pull request incrementally with one additional commit since the last revision: Test with null elements ------------- Changes: - all: https://git.openjdk.org/jdk/pull/31452/files - new: https://git.openjdk.org/jdk/pull/31452/files/791db3af..3e9e2dd5 Webrevs: - full: https://webrevs.openjdk.org/?repo=jdk&pr=31452&range=03 - incr: https://webrevs.openjdk.org/?repo=jdk&pr=31452&range=02-03 Stats: 13 lines in 1 file changed: 10 ins; 0 del; 3 mod Patch: https://git.openjdk.org/jdk/pull/31452.diff Fetch: git fetch https://git.openjdk.org/jdk.git pull/31452/head:pull/31452 PR: https://git.openjdk.org/jdk/pull/31452
