RFR: 8285517: System.getenv() returns unexpected value if environment variable has non ASCII character [v7]

Ichiroh Takiguchi itakiguchi at openjdk.java.net
Mon May 9 12:30:19 UTC 2022


> On JDK19 with Linux ja_JP.eucjp locale,
> System.getenv() returns unexpected value if environment variable has Japanese EUC characters.
> It seems this issue happens because of JEP 400.
> Arguments for ProcessBuilder have same kind of issue.

Ichiroh Takiguchi has updated the pull request with a new target base due to a merge or a rebase. The pull request now contains seven commits:

 - Merge branch 'master' into 8285517
 - 8285517: System.getenv() returns unexpected value if environment variable has non ASCII character
 - 8285517: System.getenv() returns unexpected value if environment variable has non ASCII character
 - 8285517: System.getenv() returns unexpected value if environment variable has non ASCII character
 - 8285517: System.getenv() returns unexpected value if environment variable has non ASCII character
 - 8285517: System.getenv() returns unexpected value if environment variable has non ASCII character
 - 8285517: System.getenv() returns unexpected value if environment variable has non ASCII character

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

Changes: https://git.openjdk.java.net/jdk/pull/8378/files
 Webrev: https://webrevs.openjdk.java.net/?repo=jdk&pr=8378&range=06
  Stats: 223 lines in 5 files changed: 213 ins; 0 del; 10 mod
  Patch: https://git.openjdk.java.net/jdk/pull/8378.diff
  Fetch: git fetch https://git.openjdk.java.net/jdk pull/8378/head:pull/8378

PR: https://git.openjdk.java.net/jdk/pull/8378


More information about the core-libs-dev mailing list