On Mon, 29 Jul 2024 23:03:02 GMT, Weijun Wang <wei...@openjdk.org> wrote:

>> I assuming you are suggesting to check when the property is used?  Having an 
>> error message when loading would probably be a customer call generator.
>> PEM already throws an exception if the property is not set, 
>> EPKI.encryptKey() does not.  I could add one to the latter.
>
> I'm afraid that someone will overwrite the java.security file and remove that 
> property. Then wonder what will happen and if the error message is clear.

I added the exception

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

PR Review Comment: https://git.openjdk.org/jdk/pull/17543#discussion_r1697594207

Reply via email to