Integrated: 8337506: Disable "best-fit" mapping on Windows command line
Naoto Sato
naoto at openjdk.org
Tue Aug 6 20:14:39 UTC 2024
On Thu, 1 Aug 2024 17:21:09 GMT, Naoto Sato <naoto at openjdk.org> wrote:
> 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.
This pull request has now been integrated.
Changeset: ff634a96
Author: Naoto Sato <naoto at openjdk.org>
URL: https://git.openjdk.org/jdk/commit/ff634a967027cfa56b666d31c45db9a4acc09ea4
Stats: 103 lines in 2 files changed: 101 ins; 0 del; 2 mod
8337506: Disable "best-fit" mapping on Windows command line
Reviewed-by: alanb
-------------
PR: https://git.openjdk.org/jdk/pull/20428
More information about the core-libs-dev
mailing list