< prev index next >

src/java.desktop/share/classes/sun/java2d/cmm/CMSManager.java

Print this page

        

*** 55,65 **** String cmmProviderClass = AccessController.doPrivileged(gpa); CMMServiceProvider provider = null; if (cmmProviderClass != null) { try { Class<?> cls = Class.forName(cmmProviderClass); ! provider = (CMMServiceProvider)cls.newInstance(); } catch (ReflectiveOperationException e) { } } if (provider == null) { provider = new sun.java2d.cmm.lcms.LcmsServiceProvider(); --- 55,65 ---- String cmmProviderClass = AccessController.doPrivileged(gpa); CMMServiceProvider provider = null; if (cmmProviderClass != null) { try { Class<?> cls = Class.forName(cmmProviderClass); ! provider = (CMMServiceProvider)cls.getConstructor().newInstance(); } catch (ReflectiveOperationException e) { } } if (provider == null) { provider = new sun.java2d.cmm.lcms.LcmsServiceProvider();
< prev index next >