RFR: 8285405: add test and check for negative argument to HashMap::newHashMap et al

Jaikiran Pai jpai at openjdk.org
Tue Aug 9 09:44:59 UTC 2022


On Tue, 9 Aug 2022 09:36:28 GMT, Jaikiran Pai <jpai at openjdk.org> wrote:

> (This is a recreation of a previous pull request which had received some reviews https://github.com/openjdk/jdk/pull/9036. I had to delete that personal branch and recreate it due to some git issues)
> 
> Can I please get a review of this change which addresses https://bugs.openjdk.java.net/browse/JDK-8285405?

Hello Stuart (@stuart-marks), as suggested by you in the pull request that you previously reviewed, I've now moved the tests to `HashMap/WhiteBoxResizeTest` and it now tests the new APIs using (only) `-1` as the negative input.

-------------

PR: https://git.openjdk.org/jdk/pull/9806


More information about the core-libs-dev mailing list