Hi,
Can someone help reviewing this? This can only be reproduced with 3rd
party HSM vendor, so there is no new regression test. To address this, I
removed the killSession() calls from PKCS11 Cipher, Mac, Signature
services and reverted to old behavior of finishing off the current
operation as a way of resetting the current object. Also fixed one place
missing the reset() call and another one with redundant reset() call so
the key id counting matches up.
Bug: https://bugs.openjdk.java.net/browse/JDK-8236512
Webrev: http://cr.openjdk.java.net/~valeriep/8236512/webrev.00/
Mach5 run is clean.
Thanks,
Valerie