[
http://jira.jboss.com/jira/browse/JBAS-5639?page=all ]
Martin Malina moved JBPAPP-889 to JBAS-5639:
--------------------------------------------
Project: JBoss Application Server (was: JBoss Enterprise Platform App
Edition)
Key: JBAS-5639 (was: JBPAPP-889)
Component/s: Test Suite
(was: Testsuite)
Fix Version/s: JBossAS-4.2.3.GA
(was: 4.3.0.GA_CP02)
(was: 4.2.0.GA_CP04)
Affects Version/s: JBossAS-4.2.2.GA
(was: 4.3.0.GA_CP01)
(was: 4.2.0.GA_CP03)
CLONE -org.jboss.test.util.test.PropertyEditorsUnitTestCase failing
on Z-systems
--------------------------------------------------------------------------------
Key: JBAS-5639
URL:
http://jira.jboss.com/jira/browse/JBAS-5639
Project: JBoss Application Server
Issue Type: Bug
Security Level: Public(Everyone can see)
Components: Test Suite
Affects Versions: JBossAS-4.2.2.GA
Environment: Java Version 1.5.0
Java Vendor IBM Corporation
Java VM Name IBM J9 VM
Java VM Version 2.3
Java VM Info J2RE 1.5.0 IBM J9 2.3 Linux s390-31 j9vmxz3123-20070426 (JIT enabled) J9VM -
20070420_12448_bHdSMr JIT - 20070419_1806_r8 GC - 200704_19
OS Name Linux
OS Version 2.6.9-55.EL
OS Arch s390
Reporter: Martin Malina
Assigned To: Martin Malina
Fix For: JBossAS-4.2.3.GA
When the testsuite is run on the Z-systems, the
org.jboss.test.util.test.PropertyEditorsUnitTestCase fails parsing this date with the
French locale:
text = "ven., 25 juin 1971 00:30:00 +0200";
format = new SimpleDateFormat("EEE, d MMM yyyy HH:mm:ss Z");
date = format.parse(text);
This is the exception thrown:
java.text.ParseException: Unparseable date: "ven., 25 juin 1971 00:30:00
+0200"
at java.text.DateFormat.parse(DateFormat.java:352)
at
org.jboss.test.util.test.PropertyEditorsUnitTestCase.testDateEditor(PropertyEditorsUnitTestCase.java:364)
This isn't really a problem in the AS nor testsuite, it is just a different
implementation of the date parsing in IBM JDK on Z-series. Everything is fine when
"ven." is replaced with plain "ven".
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira