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

Roger Riggs rriggs at openjdk.org
Fri Jun 20 20:09:29 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

The updates look fine.

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

Marked as reviewed by rriggs (Reviewer).

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


More information about the core-libs-dev mailing list