On Tue, 10 May 2022 22:03:19 GMT, Xue-Lei Andrew Fan <[email protected]> wrote:
>> src/java.base/share/classes/java/security/KeyStore.java line 165:
>>
>>> 163: * }
>>> 164: * } finally {
>>> 165: * protParam.destroy();
>>
>> `KeyStore.ProtectionParameter` does not have a `destroy` method. Only
>> `PasswordProtection` does.
>
> Oops, I tried to check but finally forgot about it. Thanks!
It's probably better to convert these long example code to snippets, maybe next
time.
-------------
PR: https://git.openjdk.java.net/jdk/pull/8623