changeset 7141:2ec31660cc0e

8010134: A finalizer in sun.security.pkcs11.wrapper.PKCS11 perhaps should be protected Summary: Change the finalize method of PKCS11 class to be protected. Reviewed-by: xuelei
author valeriep
date Tue, 07 May 2013 14:04:53 -0700
parents fe4e9bc2186f
children 991420add35d
files src/share/classes/sun/security/pkcs11/wrapper/PKCS11.java
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/share/classes/sun/security/pkcs11/wrapper/PKCS11.java	Tue May 07 12:05:52 2013 -0700
+++ b/src/share/classes/sun/security/pkcs11/wrapper/PKCS11.java	Tue May 07 14:04:53 2013 -0700
@@ -1528,7 +1528,7 @@
      *
      * @exception Throwable If finalization fails.
      */
-    public void finalize() throws Throwable {
+    protected void finalize() throws Throwable {
         disconnect();
     }