-
Bug
-
Resolution: Fixed
-
P3
-
7
-
b96
-
generic
-
linux_oracle_5.6
-
Verified
java/text/Format/DateFormat/WeekDateTest.java fails on OEL5.6 with locale hi_IN.UTF-8
Test info:
# uname -a
Linux OEL5u6x86 2.6.18-238.el5 #1 SMP Tue Jan 4 15:24:05 EST 2011 i686 i686 i386 GNU/Linux
# cat /etc/*release
Enterprise Linux Enterprise Linux Server release 5.6 (Carthage)
Oracle Linux Server release 5.6
Red Hat Enterprise Linux Server release 5.6 (Tikanga)
# ./java -version
java version "1.7.0"
Java(TM) SE Runtime Environment (build 1.7.0-b147)
Java HotSpot(TM) Client VM (build 21.0-b17, mixed mode, sharing)
#section:main
----------messages:(3/123)----------
command: main WeekDateTest
reason: Assumed action based on file name: run main WeekDateTest
elapsed time (seconds): 0.134
----------System.out:(0/0)----------
----------System.err:(14/905)*----------
java.lang.RuntimeException: format: got=\u0968\u0966\u0966\u096a-W\u096b\u0969-\u096c, expecetd=2004-W53-6
at WeekDateTest.formatTest(WeekDateTest.java:99)
at WeekDateTest.main(WeekDateTest.java:84)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:601)
at com.sun.javatest.regtest.MainWrapper$MainThread.run(MainWrapper.java:78)
at java.lang.Thread.run(Thread.java:722)
JavaTest Message: Test threw exception: java.lang.RuntimeException: format: got=\u0968\u0966\u0966\u096a-W\u096b\u0969-\u096c, expecetd=2004-W53-6
JavaTest Message: shutting down test
STATUS:Failed.`main' threw exception: java.lang.RuntimeException: format: got= -W - , expecetd=2004-W53-6
result: Failed. Execution failed: `main' threw exception: java.lang.RuntimeException: format: got= -W - , expecetd=2004-W53-6
test result: Failed. Execution failed: `main' threw exception: java.lang.RuntimeException: format: got= -W - , expecetd=2004-W53-6
Attached WeekDateTest.jtr for your reference.
Test info:
# uname -a
Linux OEL5u6x86 2.6.18-238.el5 #1 SMP Tue Jan 4 15:24:05 EST 2011 i686 i686 i386 GNU/Linux
# cat /etc/*release
Enterprise Linux Enterprise Linux Server release 5.6 (Carthage)
Oracle Linux Server release 5.6
Red Hat Enterprise Linux Server release 5.6 (Tikanga)
# ./java -version
java version "1.7.0"
Java(TM) SE Runtime Environment (build 1.7.0-b147)
Java HotSpot(TM) Client VM (build 21.0-b17, mixed mode, sharing)
#section:main
----------messages:(3/123)----------
command: main WeekDateTest
reason: Assumed action based on file name: run main WeekDateTest
elapsed time (seconds): 0.134
----------System.out:(0/0)----------
----------System.err:(14/905)*----------
java.lang.RuntimeException: format: got=\u0968\u0966\u0966\u096a-W\u096b\u0969-\u096c, expecetd=2004-W53-6
at WeekDateTest.formatTest(WeekDateTest.java:99)
at WeekDateTest.main(WeekDateTest.java:84)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:601)
at com.sun.javatest.regtest.MainWrapper$MainThread.run(MainWrapper.java:78)
at java.lang.Thread.run(Thread.java:722)
JavaTest Message: Test threw exception: java.lang.RuntimeException: format: got=\u0968\u0966\u0966\u096a-W\u096b\u0969-\u096c, expecetd=2004-W53-6
JavaTest Message: shutting down test
STATUS:Failed.`main' threw exception: java.lang.RuntimeException: format: got= -W - , expecetd=2004-W53-6
result: Failed. Execution failed: `main' threw exception: java.lang.RuntimeException: format: got= -W - , expecetd=2004-W53-6
test result: Failed. Execution failed: `main' threw exception: java.lang.RuntimeException: format: got= -W - , expecetd=2004-W53-6
Attached WeekDateTest.jtr for your reference.
- relates to
-
JDK-4267450 (cal) API: Need public API to calculate, format and parse "year of week"
- Closed