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

XMLWordPrintable

    • Type: Bug
    • Resolution: Duplicate
    • Priority: P2
    • None
    • Affects Version/s: 1.3.0
    • Component/s: 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.

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

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: