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

Japanese calendar field names are not displayed with -Djava.locale.providers=HOST on Windows

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • P3
    • 8
    • 8
    • core-libs
    • None
    • b94
    • x86
    • windows

    Description

      The following program doesn't produce Japanese era, month, day names correctly with -Djava.locale.providers=HOST on Windows 7.

      Locale locale = new Locale("ja","JP","JP");
      SimpleDateFormat df = new SimpleDateFormat("GGGG yyyy.MMM.dd '('E')' a hh:mm:ss zzz", locale);
      System.out.println(df.format(new Date()));

      Attachments

        Activity

          People

            naoto Naoto Sato
            okutsu Masayoshi Okutsu
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: