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

Alan Bateman alanb at openjdk.org
Sat Jun 21 06:13:27 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

Marked as reviewed by alanb (Reviewer).

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

PR Review: https://git.openjdk.org/jdk/pull/25860#pullrequestreview-2947592845


More information about the core-libs-dev mailing list