8223187: Remove setLocale() call in jpackage native launcher

Reviewed-by: kcr, herrick, naoto
This commit is contained in:
Alexander Matveev 2020-09-14 20:41:50 +00:00
parent 9c24a5635e
commit ac9d1b08ee
2 changed files with 0 additions and 3 deletions

View File

@ -44,8 +44,6 @@ size_t hash(const std::string& str) {
}
void launchApp() {
setlocale(LC_ALL, "en_US.utf8");
const tstring launcherPath = SysInfo::getProcessModulePath();
const Package ownerPackage = Package::findOwnerOfFile(launcherPath);

View File

@ -67,7 +67,6 @@ void initJvmLauncher() {
int main(int argc, char *argv[]) {
setlocale(LC_ALL, "en_US.utf8");
if (jvmLauncher) {
// This is the call from the thread spawned by JVM.
// Skip initialization phase as we have done this already in the first