On Thu, 7 Nov 2024 18:32:57 GMT, Sean Mullan <mul...@openjdk.org> wrote:

> There is already a check for a `null` return value in one of the 
> `EncryptedKey` constructors - did you consider instead adding a similar check 
> in the other ctor?

This hides the real reason why the key value cannot be generated, leaving no 
information for debugging.

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

PR Comment: https://git.openjdk.org/jdk/pull/21908#issuecomment-2464876450

Reply via email to