-
Bug
-
Resolution: Fixed
-
P4
-
None
-
b10
-
generic
-
windows
Java launcher on Windows uses GetCommandLineA() Win32 API to retrieve command arguments. If the arguments to the launcher include characters that cannot be mapped to the ANSI code page underneath, Windows uses "best-fit" approach if possible (https://learn.microsoft.com/en-us/openspecs/windows_protocols/ms-ucoderef/d1980631-6401-428e-a49d-d71394be7da8). This is problematic for some characters, such as quotation marks, as FULLWIDTH QUOTATION MARK (U+FF02) may be converted to double quotes in ascii (U+0022). This leads to an unexpected argument parsing. Disabling the "best-fit" mapping on those arguments is needed.
- csr for
-
JDK-8337509 Disable "best-fit" mapping on Windows command line
- Closed
- links to
-
Commit(master) openjdk/jdk/ff634a96
-
Review(master) openjdk/jdk/20428
There are no Sub-Tasks for this issue.