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

JDK7 doesn't see the correct default locale

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P3
    • Resolution: Not an Issue
    • Affects Version/s: 7
    • Fix Version/s: None
    • Component/s: core-libs
    • Labels:
      None
    • Subcomponent:
    • CPU:
      generic, x86
    • OS:
      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

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

                Dates

                Created:
                Updated:
                Resolved:
                Imported:
                Indexed: