On Sat, 5 Mar 2022 19:06:03 GMT, XenoAmess <d...@openjdk.java.net> wrote:

>> 8281631: HashMap copy constructor and putAll can over-allocate table
>
> XenoAmess has updated the pull request incrementally with one additional 
> commit since the last revision:
> 
>   refactor tests

test/jdk/java/util/HashMap/WhiteBoxHashMapTestUtil.java line 46:

> 44:             Class<?> mClass = HashMap.class;
> 45:             String nodeClassName = mClass.getName() + "$Node";
> 46:             Class<?> nodeArrayClass = Class.forName("[L" + nodeClassName 
> + ";");

this looks wrong, and the class instance is used nowhere later. should probably 
be removed.

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

PR: https://git.openjdk.java.net/jdk/pull/7431

Reply via email to