On Sat, 12 Sep 2020 02:15:29 GMT, Alexander Matveev <almat...@openjdk.org> wrote:
> setlocale() affects several C functions. We do not use most of these > functions. We only using isspace() and toLower(). > Based on how we use it I do not see any needs for setlocale(). After removing > it I retested jpackage by changing > locally on machine and using different language as input parameters for > jpackage. No issues found. This pull request has now been integrated. Changeset: ac9d1b08 Author: Alexander Matveev <almat...@openjdk.org> URL: https://git.openjdk.java.net/jdk/commit/ac9d1b08 Stats: 3 lines in 2 files changed: 3 ins; 0 del; 0 mod 8223187: Remove setLocale() call in jpackage native launcher Reviewed-by: kcr, herrick, naoto ------------- PR: https://git.openjdk.java.net/jdk/pull/138