Re: hg: jdk7/tl/jdk: 6921740: Eliminate warnings from sun.io converters and allow compiling with JAVAC_MAX_WARNINGS=true

2010-02-02 Thread Ulf Zibis
Hi, in most cases you use the empty diamond operator '<>' on instantiation, but not for SoftReference: "new SoftReference(cs)" in AbstractCharsetProvider.java Why? I don't see a big advantage for casting to (Class) against (Class) for the cache of Converters.java. Wouldn't you better use a s

hg: jdk7/tl/jdk: 6921740: Eliminate warnings from sun.io converters and allow compiling with JAVAC_MAX_WARNINGS=true

2010-02-02 Thread ahughes
Changeset: 7dadd2951a8b Author:andrew Date: 2010-02-02 10:55 + URL: http://hg.openjdk.java.net/jdk7/tl/jdk/rev/7dadd2951a8b 6921740: Eliminate warnings from sun.io converters and allow compiling with JAVAC_MAX_WARNINGS=true Summary: Fix sun.io converters unchecked and cast warn