On Tue, 20 Apr 2021 11:54:39 GMT, Sean Coffey <coff...@openjdk.org> wrote:
> Trivial enough change. Improved the exception thrown from JceKeyStore also. src/java.base/share/classes/sun/security/provider/JavaKeyStore.java line 290: > 288: > 289: // Protect the encoding of the key > 290: if (password == null) { You could move this check earlier, before the try block. ------------- PR: https://git.openjdk.java.net/jdk/pull/3588