RFR: 8155246: Throw error if default java.security file is missing [v3]

Alan Bateman alanb at openjdk.org
Thu Aug 11 10:41:23 UTC 2022


On Thu, 11 Aug 2022 07:13:34 GMT, Sean Coffey <coffeys at openjdk.org> wrote:

>> In the broken case where the conf/security/java.security configuration file doesn't exist, the JDK should throw an Error. 
>> 
>> CSR in progress.
>
> Sean Coffey has updated the pull request incrementally with one additional commit since the last revision:
> 
>   Incorporate review comments

src/java.base/share/classes/java/security/Security.java line 52:

> 50:  * @implNote If this property file fails to load, the JDK implementation will
> 51:  * throw an unspecified error when initializing the {@code Security} class.
> 52:  *

I think I'd probably "the property file" rather than "this property file" here but otherwise the implNote looks okay to me.

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

PR: https://git.openjdk.org/jdk/pull/9747



More information about the security-dev mailing list