On Thu, 11 Jun 2026 08:57:38 GMT, Liam Miller-Cushon <[email protected]> wrote:
>> test/jdk/java/util/concurrent/tck/PriorityQueueTest.java line 201: >> >>> 199: mustEqual(q1.poll(), q2.poll()); >>> 200: } >>> 201: >> >> No tests to verify behavior or `null` collection or `null` comparator? > > I added more tests Thank you. Since the specified behavior states that it will also throw NPE upon any elements in the supplied collection being `null` I think that should also be tested. ------------- PR Review Comment: https://git.openjdk.org/jdk/pull/31452#discussion_r3395651450
