diff -r 71ed5645f17c -r ad8fe7507ecc jdk/src/jdk.charsets/share/classes/sun/nio/cs/ext/AbstractCharsetProvider.java --- a/jdk/src/jdk.charsets/share/classes/sun/nio/cs/ext/AbstractCharsetProvider.java Tue May 03 15:50:54 2016 +0200 +++ b/jdk/src/jdk.charsets/share/classes/sun/nio/cs/ext/AbstractCharsetProvider.java Tue May 03 10:40:54 2016 -0700 @@ -148,6 +148,7 @@ true, this.getClass().getClassLoader()); + @SuppressWarnings("deprecation") Charset cs = (Charset)c.newInstance(); cache.put(csn, new SoftReference(cs)); return cs;