On Thu, 9 Apr 2026 07:23:34 GMT, Kieran Farrell <[email protected]> wrote:

>> The goal of this PR is to add a means of exposing security properties at 
>> runtime to aid the debugging security related issues/misconfigurations etc. 
>> Currently, only initial security properties set at start up can be exposed 
>> via the `InitialSecurityProperty` JFR event. 
>> 
>> This patch introduces a new jcmd diagnostic command `VM.properties`, which 
>> enables developers to print either the current system properties or security 
>> properties of a running Java process via command-line arguments (-system or 
>> -security). To avoid clutter within the jcmd command list, the old 
>> `VM.system_properties` command is hidden, but not removed so will not break 
>> existing usages. The implementation of each is shared to reduce duplication.
>
> Kieran Farrell has updated the pull request with a new target base due to a 
> merge or a rebase. The pull request now contains 19 commits:
> 
>  - Merge branch 'openjdk:master' into sec_props2
>  - update bugid
>  - update test to jtreg, indent changes
>  - newline
>  - remove clone
>  - add test
>  - update to print java.security.Security properties
>  - sperate VM.sec_props command
>  - hide command
>  - merge
>  - ... and 9 more: https://git.openjdk.org/jdk/compare/78580f1e...9787d908

@kieran-farrell 
Your change (at version 9787d90836618e62190559d9f9c5e899c2cfb641) is now ready 
to be sponsored by a Committer.

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

PR Comment: https://git.openjdk.org/jdk/pull/29124#issuecomment-4223814696

Reply via email to