jdk/src/share/classes/sun/security/pkcs11/wrapper/PKCS11.java
changeset 17477 09aab50cf738
parent 16734 da1901d79073
child 21278 ef8a3a2a72f2
equal deleted inserted replaced
17441:5ae43433d158 17477:09aab50cf738
  1526      * method is called, this object cannot be used any longer. Any subsequent
  1526      * method is called, this object cannot be used any longer. Any subsequent
  1527      * call to a C_* method will result in a runtime exception.
  1527      * call to a C_* method will result in a runtime exception.
  1528      *
  1528      *
  1529      * @exception Throwable If finalization fails.
  1529      * @exception Throwable If finalization fails.
  1530      */
  1530      */
  1531     public void finalize() throws Throwable {
  1531     protected void finalize() throws Throwable {
  1532         disconnect();
  1532         disconnect();
  1533     }
  1533     }
  1534 
  1534 
  1535 // PKCS11 subclass that has all methods synchronized and delegating to the
  1535 // PKCS11 subclass that has all methods synchronized and delegating to the
  1536 // parent. Used for tokens that only support single threaded access
  1536 // parent. Used for tokens that only support single threaded access