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.
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.
- duplicates
-
JDK-4266437 Regression Test Case test/java/text/Format/DateFormatTest.java error
-
- Closed
-