On Wed, 28 Apr 2021 15:07:14 GMT, Weijun Wang <wei...@openjdk.org> wrote:

> It's awkward that for a password-less pkcs12 keystore, `keytool -list` does 
> not prompt for a password but `keytool -list -storetype pkcs12` does.

New commit pushed. When the file is opened the second time, uses a local 
variable and close it quickly. The `ksStream` global variable is only assigned 
once and is always closed in a finally block.

-------------

PR: https://git.openjdk.java.net/jdk/pull/3764

Reply via email to