Uploaded image for project: 'CXF'
  1. CXF
  2. CXF-2362

AegisJSONProviderTest.testManyTags fails with the ibm jdk

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 2.2.3, 2.3
    • None
    • None
    • ibm jdk on linux or aix

    Description

      The AegisJSONProviderTest.testManyTags () fails when run with the ibm jdk. It attempts to do a straight string comparison of the response, however, the order of the elements in the reponse is different on the ibm jdk than it is on the sun jdk.

      Expected:
      <...,{"ns1.TagVO":{"ns1.[group":"b","ns1.name":"a]"}}]}]}>
      Was:
      <...,{"ns1.TagVO":{"ns1.[name":"a","ns1.group":"b]"}}]}]}>

      Specifying a propOrder in the XmlType annotation doesn't seem to work for this case (using aegis), so probably the best solution is to check for a different string when running with the ibm jdk.

      Attachments

        Activity

          People

            sergey_beryozkin Sergey Beryozkin
            peterjones Peter Jones
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: