8223187: Remove setLocale() call in jpackage native launcher
Reviewed-by: kcr, herrick, naoto
This commit is contained in:
parent
9c24a5635e
commit
ac9d1b08ee
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user