java.util patch for Warning Cleanup Day (original) (raw)

Mike Duigou mike.duigou at oracle.com
Tue Dec 6 21:29:17 UTC 2011


I have reviewed this patch and also run it against the java/util jtreg test. It looks good to me.

Some comments:

Currency.java:

ResourceBundle:

HashMap: -The changes to use wildcard instead of the type parameters are a bit disappointing but reasonable.

TreeSet:

Mike

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



More information about the core-libs-dev mailing list