hg: jdk8/tl/jdk: 8025173: HashMap.put() replacing an existing key can trigger a resize()
mike.duigou at oracle.com
mike.duigou at oracle.com
Thu Sep 26 20:42:58 UTC 2013
Changeset: 8f27030686a6
Author: bchristi
Date: 2013-09-26 11:13 -0700
URL: http://hg.openjdk.java.net/jdk8/tl/jdk/rev/8f27030686a6
8025173: HashMap.put() replacing an existing key can trigger a resize()
Summary: Ensure that HashMap is not resized if we're just replacing a value
Reviewed-by: alanb, martin
! src/share/classes/java/util/HashMap.java
+ test/java/util/HashMap/ReplaceExisting.java
More information about the security-dev
mailing list