RFR: 8223187: Investigate setLocale() call in jpackage native launcher
Alexander Matveev
almatvee at openjdk.java.net
Sat Sep 12 02:22:31 UTC 2020
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.
-------------
Commit messages:
- 8223187: Investigate setLocale() call in jpackage native launcher
Changes: https://git.openjdk.java.net/jdk/pull/138/files
Webrev: https://webrevs.openjdk.java.net/?repo=jdk&pr=138&range=00
Issue: https://bugs.openjdk.java.net/browse/JDK-8223187
Stats: 3 lines in 2 files changed: 0 ins; 3 del; 0 mod
Patch: https://git.openjdk.java.net/jdk/pull/138.diff
Fetch: git fetch https://git.openjdk.java.net/jdk pull/138/head:pull/138
PR: https://git.openjdk.java.net/jdk/pull/138
More information about the core-libs-dev
mailing list