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

Regression Test Case test/java/text/Format/DateFormatTest.java error

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: P2 P2
    • None
    • 1.3.0
    • core-libs
    • sparc
    • solaris_7

      Locales : all non-C locales
      Platforms : Win32/Sol
      JDK build : Kestrel-O

      Several hard-coded strings are used in java/text/Format/DateFormatTest.java as
      expected "date format" outputs. For example, in line 443 of this test case:
              String exp = "08/13/1997 at 10:42:28 AM ";

      Things like this makes this test case only runable in C locale. The test case
      is doomed to fail in non-C environments.

      I would like suggest we take a look this test case, and rewrite those hard-coded
      strings in a different way -- for example, making use of resource bundles.

            Unassigned Unassigned
            cjaosunw Cindy Jao (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: