8159009: Remove ExemptionMechanism.finalize() implementation
Reviewed-by: mullan, weijun
--- 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?
- }
}