[JDK-8388872](https://bugs.openjdk.org/browse/JDK-8388872) fixed some issues in the windows pkcs11 native coding, but seems they are also present in the separate unix coding.
--------- - [x] I confirm that I make this contribution in accordance with the [OpenJDK Interim AI Policy](https://openjdk.org/legal/ai). ------------- Commit messages: - JDK-8389453 Changes: https://git.openjdk.org/jdk/pull/32103/files Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=32103&range=00 Issue: https://bugs.openjdk.org/browse/JDK-8389453 Stats: 28 lines in 2 files changed: 5 ins; 7 del; 16 mod Patch: https://git.openjdk.org/jdk/pull/32103.diff Fetch: git fetch https://git.openjdk.org/jdk.git pull/32103/head:pull/32103 PR: https://git.openjdk.org/jdk/pull/32103
