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

MessageFormat's setLocale() problem

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Not an Issue
    • Icon: P2 P2
    • None
    • 1.4.0
    • core-libs
    • x86
    • windows_nt


      When data is passed as a part of the pattern for MessageFormat object, setLocale(a locale) method should affect the displayed form of date according to the locale. In another word, "Dec 23" should be displayed as "23 Dic" when setLocale(new Locale("es", "ES")). However it was failed. No matter what locale is set it always displays as the host default locale form.

      Attached JavaTest jtr file. It was tested by GlobalSuite v1.3
      bae-chul.kim@eng 2001-03-12

            nlindenbsunw Norbert Lindenberg (Inactive)
            bkimsunw Bae-chul Kim (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: