src/java.desktop/share/classes/java/awt/color/ICC_Profile.java
Print this page
*** 698,708 ****
*/
public static final int icHdrProfileID = 84; /* Profile's ID */
/**
! * ICC Profile Constant: tag type signaturE.
*/
public static final int icTagType = 0; /* tag type signature */
/**
* ICC Profile Constant: reserved.
--- 698,708 ----
*/
public static final int icHdrProfileID = 84; /* Profile's ID */
/**
! * ICC Profile Constant: tag type signature.
*/
public static final int icTagType = 0; /* tag type signature */
/**
* ICC Profile Constant: reserved.
*** 1887,1897 ****
}
String canonicalFileName = f.getCanonicalPath();
return canonicalFileName.startsWith(canonicalDirName);
} catch (IOException e) {
/* we do not expect the IOException here, because invocation
! * of this function is always preceeded by isFile() call.
*/
return false;
}
}
--- 1887,1897 ----
}
String canonicalFileName = f.getCanonicalPath();
return canonicalFileName.startsWith(canonicalDirName);
} catch (IOException e) {
/* we do not expect the IOException here, because invocation
! * of this function is always preceded by isFile() call.
*/
return false;
}
}
*** 1916,1926 ****
* factory methods that will register the profile with CMM. For
* deserialization we implement readResolve method that will
* resolve the bogus deserialized profile object with one obtained
* with getInstance as well.
*
! * There're two primary factory methods for construction of ICC
* profiles: getInstance(int cspace) and getInstance(byte[] data).
* This implementation of ICC_Profile uses the former to return a
* cached singleton profile object, other implementations will
* likely use this technique too. To preserve the singleton
* pattern across serialization we serialize cached singleton
--- 1916,1926 ----
* factory methods that will register the profile with CMM. For
* deserialization we implement readResolve method that will
* resolve the bogus deserialized profile object with one obtained
* with getInstance as well.
*
! * There are two primary factory methods for construction of ICC
* profiles: getInstance(int cspace) and getInstance(byte[] data).
* This implementation of ICC_Profile uses the former to return a
* cached singleton profile object, other implementations will
* likely use this technique too. To preserve the singleton
* pattern across serialization we serialize cached singleton