Collections.enumeration() WAS Warning Cleanup Day
Mike Duigou
mike.duigou at oracle.com
Sat Dec 3 08:21:00 PST 2011
On Dec 3 2011, at 07:12 , Rémi Forax wrote:
> On 12/03/2011 03:33 PM, Alan Bateman wrote:
>> On 03/12/2011 12:37, Rémi Forax wrote:
>>> I've started to remove warnings from java.util
>>> and I'm not able to cleanly retrofit java.util.PropertyPermission
>>> because java.util.Collections.enumeration is wrongly typed.
>>>
>> Rémi - you might want to sync up with Mike Duigou as I believe he has been working on the java.util area including collections. Also best to move any discussions on collections/util area to core-libs-dev too.
>>
>> -Alan
>
> too late :)
>
> Here is a webrev that remove most of the unchecked cast/raw generics warnings
> http://cr.openjdk.java.net/~forax/WarningDay1/webrev/
>
> Rémi
>
I have changes in about 15 files. I will compare them against yours. I actually believe that doing the same work independently and then comparing the results is a stronger validation than inspection review.
Thanks for submitting these fixes.
Mike
More information about the jdk8-dev
mailing list