[jboss-jira] [JBoss JIRA] Commented: (JBAS-5639) org.jboss.test.util.test.PropertyEditorsUnitTestCase failing on Z-systems

Martin Malina (JIRA) jira-events at lists.jboss.org
Tue Jun 17 10:02:33 EDT 2008


    [ http://jira.jboss.com/jira/browse/JBAS-5639?page=comments#action_12417572 ] 
            
Martin Malina commented on JBAS-5639:
-------------------------------------

I will change the testsuite to try to parse the first date string and if it fails try the second one.

> 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

        



More information about the jboss-jira mailing list