Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8223187

Remove setLocale() call in jpackage native launcher

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P3
    • Resolution: Fixed
    • Affects Version/s: 14, 15, 16
    • Fix Version/s: 16
    • Component/s: tools
    • Labels:
    • Subcomponent:
    • Resolved In Build:
      b16

      Description

      each of the native launchers:
      linux/native/jpackageapplauncher/launcher.cpp,
      windows/native/jpackageapplauncher/WinLauncher.cpp, and
      macosx/native/jpackageapplauncher/main.m
      contain the line:
      setlocale(LC_ALL, "en_US.utf8");

      We need to investigate if this is needed, and this means for a user whose desktop is (say) German, or French, or Japanese ?

      We also need to verify that when the Java app is launched from this environment it is not inheriting this US locale.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                almatvee Alexander Matveev
                Reporter:
                herrick Andy Herrick
              • Votes:
                0 Vote for this issue
                Watchers:
                6 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: