src/share/classes/java/awt/color/ICC_Profile.java

Print this page

        

*** 56,66 **** import java.util.StringTokenizer; import java.security.AccessController; import java.security.PrivilegedAction; - import sun.misc.BootClassLoaderHook; /** * A representation of color profile data for device independent and * device dependent color spaces based on the International Color * Consortium Specification ICC.1:2001-12, File Format for Color Profiles, --- 56,65 ----
*** 863,874 **** break; case ColorSpace.CS_PYCC: synchronized(ICC_Profile.class) { if (PYCCprofile == null) { ! if (BootClassLoaderHook.getHook() != null || ! standardProfileExists("PYCC.pf")) { ProfileDeferralInfo pInfo = new ProfileDeferralInfo("PYCC.pf", ColorSpace.TYPE_3CLR, 3, CLASS_DISPLAY); --- 862,872 ---- break; case ColorSpace.CS_PYCC: synchronized(ICC_Profile.class) { if (PYCCprofile == null) { ! if (standardProfileExists("PYCC.pf")) { ProfileDeferralInfo pInfo = new ProfileDeferralInfo("PYCC.pf", ColorSpace.TYPE_3CLR, 3, CLASS_DISPLAY);