Integrated: 8259622: TreeMap.computeIfAbsent deviates from spec
Tagir F.Valeev
tvaleev at openjdk.java.net
Fri Jan 15 04:15:03 UTC 2021
On Wed, 13 Jan 2021 09:51:01 GMT, Tagir F. Valeev <tvaleev at openjdk.org> wrote:
> Handle TreeMap::computeIfAbsent when previous mapping with null value existed (in this case spec requires to overwrite the existing mapping)
This pull request has now been integrated.
Changeset: 2c8e337d
Author: Tagir F. Valeev <tvaleev at openjdk.org>
URL: https://git.openjdk.java.net/jdk/commit/2c8e337d
Stats: 26 lines in 2 files changed: 22 ins; 0 del; 4 mod
8259622: TreeMap.computeIfAbsent deviates from spec
Reviewed-by: smarks
-------------
PR: https://git.openjdk.java.net/jdk/pull/2058
More information about the core-libs-dev
mailing list