[8u-dev] Request for Approval: Backport of 8186171: HashMap: Entry.setValue may not work after Iterator.remove() called for previous entries

Deepak Kejriwal deepak.kejriwal at oracle.com
Mon Jun 11 09:21:40 UTC 2018



Please approve the backport of 8176192 to 8u-dev.

Bug: https://bugs.openjdk.java.net/browse/JDK-8186171

Webrev for [8u-dev]: http://cr.openjdk.java.net/~rpatil/8186171/webrev.01/

JDK Review Thread: http://mail.openjdk.java.net/pipermail/core-libs-dev/2018-June/053647.html



The back port for test files is not clean back port as all tests files are extending JSR166TestCase.java which was added to JDK 9 as part of HYPERLINK "https://bugs.openjdk.java.net/browse/JDK-8146467"JDK-8146467: Integrate JSR 166 jck tests into JDK repo. This is not present in JDK8 version.

Therefore, I have extracted test are relevant to the fix done JDK-8186171 and created a new test file Bug8186171Test.java.


All the related testing is done and is a pass.




More information about the jdk8u-dev mailing list