@@ -146,10 +146,11 @@ 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;