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

DateFormatSymbols class contains wrong string for March in Ukrainian

    XMLWordPrintable

    Details

    • Subcomponent:
    • Resolved In Build:
      rc
    • CPU:
      x86
    • OS:
      windows_98
    • Verification:
      Verified

      Description



      Name: nt126004 Date: 01/09/2002


      FULL PRODUCT VERSION :
      D:\>java -version
      java version "1.3.1_01"
      Java(TM) 2 Runtime Environment, Standard Edition (build 1.3.1_01)
      Java HotSpot(TM) Client VM (build 1.3.1_01, mixed mode)

      also

      D:\>D:\PROGRA~1\JAVA\J2RE14~1.0-B\BIN\JAVA.EXE -version
      java version "1.4.0-beta3"
      Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.0-beta3-b84)
      Java HotSpot(TM) Client VM (build 1.4.0-beta3-b84, mixed mode)


      FULL OPERATING SYSTEM VERSION :
      Windows 98 Second Edition

      ADDITIONAL OPERATING SYSTEMS :
      Linux

      EXTRA RELEVANT SYSTEM CONFIGURATION :
      This bug seems to be not related to operating system,
      because both Linux and Win98 show months correctly.

      A DESCRIPTION OF THE PROBLEM :
      DateFormatSymbols class contains wrong string for March in
      Ukrainian (uk_UA).

      STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
      Run the test code below.

      EXPECTED VERSUS ACTUAL BEHAVIOR :
      The 5th letter in the word should have Unicode position
      greater by one (can't display in bug report because of
      ISO8859-1 encoding restriction).


      This bug can be reproduced always.

      ---------- BEGIN SOURCE ----------
      import java.text.*;
      import java.util.*;

      class test {

      public static void main(String args[]) {
      DateFormatSymbols dfs = new DateFormatSymbols(new Locale("uk","UA"));
      System.out.println(dfs.getMonths()[2]);
      }
      }

      ---------- END SOURCE ----------

      CUSTOMER WORKAROUND :
      Increase unicode position of 5th letter in the word by one.
      (Review ID: 137620)
      ======================================================================

        Attachments

          Activity

            People

            Assignee:
            kcolfersunw Kieran Colfer (Inactive)
            Reporter:
            nthompsosunw Nathanael Thompson (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: