RFR: 8378354: Faulty assertion in checkInvariants method of ConcurrentHashMap

duke duke at openjdk.org
Tue Feb 24 09:10:47 UTC 2026


On Sat, 21 Feb 2026 16:51:17 GMT, cdw200806 <duke at openjdk.org> wrote:

> Raise a new PR. for https://github.com/openjdk/jdk/pull/24612 is too old.
> 
> "In Red-Black Trees, a red node cannot have any red children; this rule is violated even if only one child is red, not just when both children are red."

@cdw200806 
Your change (at version 378c31e9c525e30f4dff008a9d3fbcfe64668081) is now ready to be sponsored by a Committer.

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

PR Comment: https://git.openjdk.org/jdk/pull/29857#issuecomment-3950200335


More information about the core-libs-dev mailing list