Could someone help review this trivial fix? Inside the debugging block, the slot list variable "slots" is overridden with slots with tokens, this causes problem when trying to access the slot list with slotListIndex configuration option. Fix is to print out the slot with tokens info w/o storing it into the slot list variable.
Thanks, Valerie ------------- Commit messages: - 8305336: java.security.debug=sunpkcs11 breaks PKCS#11 configuration with slotListIndex Changes: https://git.openjdk.org/jdk/pull/13483/files Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=13483&range=00 Issue: https://bugs.openjdk.org/browse/JDK-8305336 Stats: 3 lines in 1 file changed: 0 ins; 0 del; 3 mod Patch: https://git.openjdk.org/jdk/pull/13483.diff Fetch: git fetch https://git.openjdk.org/jdk.git pull/13483/head:pull/13483 PR: https://git.openjdk.org/jdk/pull/13483