--- old/src/java.desktop/share/classes/sun/awt/FontConfiguration.java 2016-04-21 08:39:26.732604856 -0700 +++ new/src/java.desktop/share/classes/sun/awt/FontConfiguration.java 2016-04-21 08:39:26.568686855 -0700 @@ -956,7 +956,9 @@ if (fcc != null) { try { - fc = (Charset) fcc.newInstance(); + @SuppressWarnings("deprecation") + Object tmp = fcc.newInstance(); + fc = (Charset) tmp; } catch (Exception e) { } }