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

Invalid Polish date format

XMLWordPrintable

      FULL PRODUCT VERSION :
      java version "1.4.2_08"
      Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2_08-b03)
      Java HotSpot(TM) Client VM (build 1.4.2_08-b03, mixed mode)

      ADDITIONAL OS VERSION INFORMATION :
      Microsoft Windows XP [Verze 5.1.2600]

      A DESCRIPTION OF THE PROBLEM :
      The sun.text.resources.LocaleElements_pl.getContents() method
      contains not proper definition :

      new Object[] {
                      "DateTimePatterns", new String[] {
                          "HH:mm:ss z", "HH:mm:ss z", "HH:mm:ss", "HH:mm", "EEEE, d MMMM yyyy", "d MMMM yyyy", "yyyy-MM-dd", "yy-MM-dd", "{1} {0}"
                      }

      Proper definition is :

      new Object[] {
                      "DateTimePatterns", new String[] {
                          "HH:mm:ss z", "HH:mm:ss z", "HH:mm:ss", "HH:mm", "EEEE, d MMMM yyyy", "d MMMM yyyy", "d.M.yyyy", "d.M.yy", "{1} {0}"
                      }



      REPRODUCIBILITY :
      This bug can be reproduced always.

            yhuang Yong Huang (Inactive)
            okutsu Masayoshi Okutsu
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: