RFR: 8259622: TreeMap.computeIfAbsent deviates from spec

Stuart Marks smarks at openjdk.java.net
Thu Jan 14 23:28:05 UTC 2021


On Thu, 14 Jan 2021 23:25:22 GMT, Stuart Marks <smarks at openjdk.org> wrote:

>> Handle TreeMap::computeIfAbsent when previous mapping with null value existed (in this case spec requires to overwrite the existing mapping)
>
> Marked as reviewed by smarks (Reviewer).

Thanks for picking this up. Changes look good. Please update copyright years if you get a chance.

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

PR: https://git.openjdk.java.net/jdk/pull/2058


More information about the core-libs-dev mailing list