RFR JDK-8022442: Fix unchecked warnings in HashMap

Remi Forax forax at univ-mlv.fr
Thu Aug 8 10:34:53 UTC 2013

On 08/08/2013 09:10 AM, Paul Sandoz wrote:
> On Aug 7, 2013, at 4:56 PM, Martin Buchholz <martinrb at google.com> wrote:
>> Doug is also working on HashMap, with experimental version in jsr166 CVS.
>> I think here:
>> http://gee.cs.oswego.edu/cgi-bin/viewcvs.cgi/jsr166/src/dl/java/util/HashMap.java?view=co
> Right.
> IMHO i think we should quickly commit this warnings patch then focus efforts on getting Doug's updates into tl, which will effectively overwrite many things.
> Paul.

I've noticed that Doug's version doesn't have the patch from Igor 
Gerasimov that use Integer.highestOneBit to find the power of two.

And that the iterators on entrySet, keySet and values doesn't have their 
method forEachRemaining overriden
(unlike java.util.ArrayList).


More information about the core-libs-dev mailing list