RFR: 8354213: Restore pointless unicode characters to ASCII

Magnus Ihse Bursie ihse at openjdk.org
Wed Apr 9 15:23:17 UTC 2025


I believe the source code of the JDK should be in US-ASCII if possible, and only employ extended characters if that is strictly necessary for the code to work.

In my attempt to figure out which non-ascii files are another encoding than utf-8 (see [JDK-8301971](https://bugs.openjdk.org/browse/JDK-8301971)), I discovered a handful of files that use unicode characters for no good reason, when normal ASCII characters could have been used (and have been used everywhere else in the code base in similar contexts).

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

Commit messages:
 - 8354213: Restore pointless unicode characters to ASCII

Changes: https://git.openjdk.org/jdk/pull/24552/files
  Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=24552&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8354213
  Stats: 25 lines in 15 files changed: 0 ins; 0 del; 25 mod
  Patch: https://git.openjdk.org/jdk/pull/24552.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/24552/head:pull/24552

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


More information about the build-dev mailing list