On 11/09/2019 16:13, Baesken, Matthias wrote:

Hello, please review this small fix .

It adds a ReleaseStringUTFChars   to an early  (special case)  return in function Java_sun_security_pkcs11_wrapper_PKCS11_connect  .

Bug/webrev :

https://bugs.openjdk.java.net/browse/JDK-8230861

http://cr.openjdk.java.net/~mbaesken/webrevs/8230861.0/

ReleaseStringUTFChars is safe to call when there is pending exception so I think this is okay.

-Alan

Reply via email to