Skip to content

Commit ac9d1b0

Browse files
author
Alexander Matveev
committed
8223187: Remove setLocale() call in jpackage native launcher
Reviewed-by: kcr, herrick, naoto
1 parent 9c24a56 commit ac9d1b0

File tree

2 files changed

+0
-3
lines changed

2 files changed

+0
-3
lines changed

src/jdk.incubator.jpackage/linux/native/applauncher/LinuxLauncher.cpp

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,8 +44,6 @@ size_t hash(const std::string& str) {
4444
}
4545

4646
void launchApp() {
47-
setlocale(LC_ALL, "en_US.utf8");
48-
4947
const tstring launcherPath = SysInfo::getProcessModulePath();
5048

5149
const Package ownerPackage = Package::findOwnerOfFile(launcherPath);

src/jdk.incubator.jpackage/macosx/native/applauncher/MacLauncher.cpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,6 @@ void initJvmLauncher() {
6767

6868

6969
int main(int argc, char *argv[]) {
70-
setlocale(LC_ALL, "en_US.utf8");
7170
if (jvmLauncher) {
7271
// This is the call from the thread spawned by JVM.
7372
// Skip initialization phase as we have done this already in the first

0 commit comments

Comments
 (0)