提交 66f31aee 编写于 作者: V valeriep

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
上级 412ce557
......@@ -1528,7 +1528,7 @@ public class PKCS11 {
*
* @exception Throwable If finalization fails.
*/
public void finalize() throws Throwable {
protected void finalize() throws Throwable {
disconnect();
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册