changeset 39564:ed1bb10788f0

8159009: Remove ExemptionMechanism.finalize() implementation Reviewed-by: mullan, weijun
author xuelei
date Sat, 09 Jul 2016 06:04:57 +0000
parents 1449ed425710
children 5ed04f754c31
files jdk/src/java.base/share/classes/javax/crypto/ExemptionMechanism.java
diffstat 1 files changed, 0 insertions(+), 9 deletions(-) [+]
line wrap: on
line diff
--- a/jdk/src/java.base/share/classes/javax/crypto/ExemptionMechanism.java	Sat Jul 09 05:56:18 2016 +0000
+++ b/jdk/src/java.base/share/classes/javax/crypto/ExemptionMechanism.java	Sat Jul 09 06:04:57 2016 +0000
@@ -482,13 +482,4 @@
         done = true;
         return n;
     }
-
-    /**
-     * Ensures that the key stored away by this ExemptionMechanism
-     * object will be wiped out when there are no more references to it.
-     */
-    protected void finalize() {
-        keyStored = null;
-        // Are there anything else we could do?
-    }
 }