hg: jdk9/dev/jdk: 8071667: HashMap.computeIfAbsent() adds entry that HashMap.get() does not find.
brent.christian at oracle.com
brent.christian at oracle.com
Thu Apr 2 19:33:40 UTC 2015
Changeset: 0c3aa853064e
Author: bchristi
Date: 2015-04-02 12:33 -0700
URL: http://hg.openjdk.java.net/jdk9/dev/jdk/rev/0c3aa853064e
8071667: HashMap.computeIfAbsent() adds entry that HashMap.get() does not find.
Summary: Throw ConcurrentModificationException from computeIfAbsent() & friends
Reviewed-by: chegar, psandoz
! src/java.base/share/classes/java/util/HashMap.java
! src/java.base/share/classes/java/util/Hashtable.java
! src/java.base/share/classes/java/util/Map.java
+ test/java/util/Map/FunctionalCMEs.java
More information about the jdk9-dev-changes
mailing list