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

JDK7 doesn't see the correct default locale

    XMLWordPrintable

Details

    • Bug
    • Resolution: Not an Issue
    • P3
    • None
    • 7
    • core-libs
    • None
    • generic, x86
    • generic, windows_7

    Description

      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.

      Attachments

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved:
                Imported:
                Indexed: