On Tue, 30 Jul 2024 21:06:06 GMT, Anthony Scarpino <ascarp...@openjdk.org> wrote:
>> 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 `SecretKeyFactory.getInstance()` will throw `NullPointerException` if the property is undefined. You would need to add a try/catch block for NPE specifically, which you don't have right now. ------------- PR Review Comment: https://git.openjdk.org/jdk/pull/17543#discussion_r2078043760