RFR: 8337506: Disable "best-fit" mapping on Windows command line [v2]
Naoto Sato
naoto at openjdk.org
Fri Aug 2 18:40:07 UTC 2024
> Fixing the Java launcher's command line argument parsing issue on Windows. The Java launcher on Windows has been using `GetCommandLineA()` to obtain arguments, which by default does "best-fit" mapping when the arguments are converted to ANSI code page encoding. By disabling this "best-fit" mapping, the launcher's parsing works as expected. A corresponding CSR has been drafted for the behavioral change.
Naoto Sato has updated the pull request incrementally with one additional commit since the last revision:
Add comment for the error case
-------------
Changes:
- all: https://git.openjdk.org/jdk/pull/20428/files
- new: https://git.openjdk.org/jdk/pull/20428/files/707a1bd6..6a92ed2a
Webrevs:
- full: https://webrevs.openjdk.org/?repo=jdk&pr=20428&range=01
- incr: https://webrevs.openjdk.org/?repo=jdk&pr=20428&range=00-01
Stats: 2 lines in 1 file changed: 2 ins; 0 del; 0 mod
Patch: https://git.openjdk.org/jdk/pull/20428.diff
Fetch: git fetch https://git.openjdk.org/jdk.git pull/20428/head:pull/20428
PR: https://git.openjdk.org/jdk/pull/20428
More information about the hotspot-runtime-dev
mailing list