JDK7 doesn't see the correct default locale

XMLWordPrintable

    • Type: Bug
    • Resolution: Not an Issue
    • Priority: P3
    • None
    • Affects Version/s: 7
    • Component/s: core-libs
    • None
    • generic, x86
    • generic, windows_7

      Found while running Eclipse, and Mission control on a computer with swedish locale. Timestamps use the us format: "8.45AM" instead of the swedish "08.45".

      Java repro:
      import java.util.Locale;


      public class LocaleDefaultTest {
             public static void main(String[] args) {
                    System.out.println(Locale.getDefault());
          }
      }

      On my computer it will print out "sv_SE" with jdk6 and "en_US" with jdk7-137.
      Windows 7, x64 computer.

            Assignee:
            Naoto Sato
            Reporter:
            Nils Loodin (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: