Uploaded image for project: 'Application Server 3  4  5 and 6'
  1. Application Server 3 4 5 and 6
  2. JBAS-5639

org.jboss.test.util.test.PropertyEditorsUnitTestCase failing on Z-systems

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Done
    • Affects Version/s: JBossAS-4.2.2.GA
    • Fix Version/s: JBossAS-4.2.3.GA
    • Component/s: Test Suite
    • Labels:
      None
    • Environment:

      Description

      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".

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  mmalina Martin Malina
                  Reporter:
                  mmalina Martin Malina
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  0 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: