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

java.time does not support HOST provider

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • P3
    • 9
    • 8, 9
    • core-libs
    • JDK 8 or JDK 9 on windows 7 S. Chinese

    • 8
    • b148
    • generic
    • windows

    Description

      This is an i18n issue.

      I compile the attached program and run it in windows 7 zh_CN.

      When java.locale.providers is default(JRE) or CLDR, the output is the expected. But when the providers is HOST, the formatted date text is in English. From what I understand, since the formatter uses default locale (zh_CN here), the formatted output should be in Chinese from the underlying
      win7 zh_CN.

      Attched are the test program and the screenshot of the output.

      Attachments

        Activity

          People

            rgoel Rachna Goel (Inactive)
            yhuang Yong Huang (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: