On Mon, 24 Jan 2022 16:00:14 GMT, Sean Mullan <mul...@openjdk.org> wrote:

>> No change. This is because `caks` global variable can only be initialized 
>> with cacerts keystore  when the `trustcacerts` option is specified; 
>> otherwise if has to be kept null. `buildTrustedCerts`() is always executed.
>
> I was thinking `buildTrustedCerts` could return the cacerts `KeyStore`, and 
> you could assign that instead to `caks` if `trustcacerts` is true.

Done as suggested.

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

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

Reply via email to