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).

This pull request has now been integrated.

Changeset: 3b30a57e
Author:    Liam Miller-Cushon <[email protected]>
URL:       
https://git.openjdk.org/jdk/commit/3b30a57e3012330f85b24dbc86fc8a5023bb3e1a
Stats:     123 lines in 2 files changed: 122 ins; 0 del; 1 mod

6356745: (coll) Add PriorityQueue(Collection, Comparator)

Co-authored-by: Valeh Hajiyev <[email protected]>
Reviewed-by: vklang, smarks, liach

-------------

PR: https://git.openjdk.org/jdk/pull/31452

Reply via email to