RFR: 8359732: Make standard i/o encoding related system properties `StaticProperty` [v4]

Naoto Sato naoto at openjdk.org
Mon Jun 23 16:19:36 UTC 2025


On Fri, 20 Jun 2025 18:44:47 GMT, Naoto Sato <naoto at openjdk.org> wrote:

>> Refactored the internal handling of `stdin/out/err.encoding` to allow setting them only via command-line options by converting them into `StaticProperty`. This change prevents unexpected behavior caused by applications modifying these properties at runtime using `System.setProperty()`.
>
> Naoto Sato has updated the pull request incrementally with one additional commit since the last revision:
> 
>   Reflects review comments. Limits the usage of StaticProperty within java.base

Thanks for the reviews!

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

PR Comment: https://git.openjdk.org/jdk/pull/25860#issuecomment-2997091425


More information about the core-libs-dev mailing list