[jdk21u-dev] RFR: 8353698: Output of Simple Web Server is garbled if the console's encoding is not UTF-8

Taizo Kurashige tkurashige at openjdk.org
Wed Jul 16 11:15:20 UTC 2025


Hi,

This is a backport of JDK-8353698: Output of Simple Web Server is garbled if the console's encoding is not UTF-8

Original patch applies cleanly to 21u.
This PR depends on #1980. So #1980 shoud be integrated first.

Testing: test/jdk/com/sun/net/httpserver/simpleserver passes on Japanese Windows and English Windows.

Thanks.

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

Depends on: https://git.openjdk.org/jdk21u-dev/pull/1980

Commit messages:
 - Backport f7fa05f577a28870202ccaa3544c34b58bd4adfe

Changes: https://git.openjdk.org/jdk21u-dev/pull/1981/files
  Webrev: https://webrevs.openjdk.org/?repo=jdk21u-dev&pr=1981&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8353698
  Stats: 65 lines in 10 files changed: 9 ins; 3 del; 53 mod
  Patch: https://git.openjdk.org/jdk21u-dev/pull/1981.diff
  Fetch: git fetch https://git.openjdk.org/jdk21u-dev.git pull/1981/head:pull/1981

PR: https://git.openjdk.org/jdk21u-dev/pull/1981


More information about the jdk-updates-dev mailing list