< prev index next >

src/jdk.charsets/share/classes/sun/nio/cs/ext/AbstractCharsetProvider.java

Print this page

        

*** 146,155 **** --- 146,156 ---- Class<?> c = Class.forName(packagePrefix + "." + cln, true, this.getClass().getClassLoader()); + @SuppressWarnings("deprecation") Charset cs = (Charset)c.newInstance(); cache.put(csn, new SoftReference<Charset>(cs)); return cs; } catch (ClassNotFoundException x) { return null;
< prev index next >