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

Naoto Sato naoto at openjdk.org
Wed Jun 18 18:01:24 UTC 2025


> 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:

  Reflecting review comments

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

Changes:
  - all: https://git.openjdk.org/jdk/pull/25860/files
  - new: https://git.openjdk.org/jdk/pull/25860/files/9d1dbf3a..c5c93387

Webrevs:
 - full: https://webrevs.openjdk.org/?repo=jdk&pr=25860&range=01
 - incr: https://webrevs.openjdk.org/?repo=jdk&pr=25860&range=00-01

  Stats: 25 lines in 9 files changed: 0 ins; 16 del; 9 mod
  Patch: https://git.openjdk.org/jdk/pull/25860.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/25860/head:pull/25860

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


More information about the core-libs-dev mailing list