8159009: Remove ExemptionMechanism.finalize() implementation
authorxuelei
Sat, 09 Jul 2016 06:04:57 +0000
changeset 39564 ed1bb10788f0
parent 39563 1449ed425710
child 39565 5ed04f754c31
8159009: Remove ExemptionMechanism.finalize() implementation Reviewed-by: mullan, weijun
jdk/src/java.base/share/classes/javax/crypto/ExemptionMechanism.java
--- 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?
-    }
 }