Skip to content
Permalink
Browse files
8223187: Remove setLocale() call in jpackage native launcher
Reviewed-by: kcr, herrick, naoto
  • Loading branch information
Alexander Matveev committed Sep 14, 2020
1 parent 9c24a56 commit ac9d1b08ee4a9f54cd75a4115adffcc4c0fb105d
@@ -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);
@@ -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

1 comment on commit ac9d1b0

@bridgekeeper

This comment has been minimized.

Copy link

@bridgekeeper bridgekeeper bot commented on ac9d1b0 Sep 14, 2020

Please sign in to comment.