changeset 57010:6654f5611420

8175984: ICC_Profile has un-needed, not-empty finalize method Reviewed-by: jdv, serb
author prr
date Fri, 25 Oct 2019 13:32:01 -0700
parents 85d7af399ef5
children 0fa6b6461451
files src/java.desktop/share/classes/java/awt/color/ICC_Profile.java
diffstat 1 files changed, 0 insertions(+), 5 deletions(-) [+]
line wrap: on
line diff
--- a/src/java.desktop/share/classes/java/awt/color/ICC_Profile.java	Thu Oct 24 01:02:08 2019 -0700
+++ b/src/java.desktop/share/classes/java/awt/color/ICC_Profile.java	Fri Oct 25 13:32:01 2019 -0700
@@ -760,11 +760,6 @@
      */
     @Deprecated(since="9")
     protected void finalize () {
-        if (cmmProfile != null) {
-            CMSManager.getModule().freeProfile(cmmProfile);
-        } else if (profileActivator != null) {
-            ProfileDeferralMgr.unregisterDeferral(profileActivator);
-        }
     }
 
     /**