RFR 8025173 : HashMap.put() replacing an existing key can trigger a resize()

Alan Bateman Alan.Bateman at oracle.com
Thu Sep 26 13:11:35 UTC 2013

On 25/09/2013 15:19, Brent Christian wrote:
> Please review this change for 8025173, "HashMap.put() replacing an 
> existing key can trigger a resize()."
> A description of the problem can be found in the bug report:
> http://bugs.sun.com/view_bug.do?bug_id=8025173
> Thanks to Doug Lea for sending in the diff for HashMap.java.
> Webrev is here:
> http://cr.openjdk.java.net/~bchristi/8025173/webrev.00/
> Results of an automated test run look okay.
The fix looks right to me. One comment on the test is that testItr is 
using raw types, is there any reason for thaht?


More information about the core-libs-dev mailing list