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

Naoto Sato naoto at openjdk.org
Wed Jun 18 18:24:43 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:

  Replaces a couple more

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

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

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

  Stats: 2 lines in 1 file changed: 0 ins; 0 del; 2 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