RFR: 8344289: SM cleanup in jdk.internal.util [v2]
Roger Riggs
rriggs at openjdk.org
Fri Nov 15 16:30:55 UTC 2024
On Fri, 15 Nov 2024 16:23:28 GMT, Chen Liang <liach at openjdk.org> wrote:
>> @liach Does this mean we can/should use `System.getProperty` here?
>
> VM saved props is still better imo as user code cannot tamper it with System.setProperty.
VM.save props should only be used if there is a bootstrap issue.
If tampering is a concern, then the property should be added to StaticProperties.
-------------
PR Review Comment: https://git.openjdk.org/jdk/pull/22141#discussion_r1844138793
More information about the core-libs-dev
mailing list