There's a small bug tail from JDK-8186958, which added a few methods to create pre-sized HashMap and related instances.

* JDK-8285386 WhiteBoxResizeTest.java fails in tier7 after JDK-8186958

Some of our test configurations failed with OOME. Since they're internal systems, I've handled this myself.

* JDK-8285405 add test and check for negative argument to HashMap::newHashMap 
et al

Some internal discussions revealed this issue; the robustness of the system under maintenance could be improved by adding an explicit argument check to these methods and tests for these cases. (Probably -1 and Integer.MIN_VALUE would be sufficient.)

I'd like a volunteer to handle this. Since Xeno Amess authored the original feature, I nominate Xeno to do this work. :-)

Please let us know if you can pick up this work. Thanks.

s'marks

Reply via email to