Integrated: 8359732: Make standard i/o encoding related system properties `StaticProperty`

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


On Tue, 17 Jun 2025 20:16:05 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()`.

This pull request has now been integrated.

Changeset: 9c3eaa49
Author:    Naoto Sato <naoto at openjdk.org>
URL:       https://git.openjdk.org/jdk/commit/9c3eaa49f7f8c6ade7319064566c0370e955f631
Stats:     51 lines in 7 files changed: 34 ins; 2 del; 15 mod

8359732: Make standard i/o encoding related system properties `StaticProperty`

Reviewed-by: rriggs, alanb, vyazici

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

PR: https://git.openjdk.org/jdk/pull/25860


More information about the core-libs-dev mailing list