RFR: 8292177: InitialSecurityProperty JFR event [v3]

Alan Bateman alanb at openjdk.org
Mon Oct 10 07:33:53 UTC 2022


On Mon, 3 Oct 2022 10:30:54 GMT, Sean Coffey <coffeys at openjdk.org> wrote:

>> New JFR event to record state of initial security properties.
>>  
>> Debug output is also now added for these properties via -Djava.security.debug=properties
>
> Sean Coffey has updated the pull request incrementally with one additional commit since the last revision:
> 
>   Check for 0 security events

src/java.base/share/classes/java/security/ProtectionDomain.java line 76:

> 74:     static class JavaSecurityAccessImpl implements JavaSecurityAccess {
> 75:         /* cache a copy for recording purposes */
> 76:         static Properties initialSecurityProperties;

This doesn't look very clean. Could the Security class hold the initial security properties and provide an accessor method that JavaSecurityAccess:getIinitialProperties could use?

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

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



More information about the security-dev mailing list