< prev index next >
src/java.desktop/share/classes/java/awt/color/ICC_Profile.java
Print this page
*** 758,772 ****
* Object#finalize()} for further information about migration
* options.
*/
@Deprecated(since="9")
protected void finalize () {
- if (cmmProfile != null) {
- CMSManager.getModule().freeProfile(cmmProfile);
- } else if (profileActivator != null) {
- ProfileDeferralMgr.unregisterDeferral(profileActivator);
- }
}
/**
* Constructs an {@code ICC_Profile} object corresponding to the data in a
* byte array. Throws an {@code IllegalArgumentException} if the data does
--- 758,767 ----
< prev index next >