AegisJSONProviderTest.testManyTags fails with the ibm jdk
---------------------------------------------------------

                 Key: CXF-2362
                 URL: https://issues.apache.org/jira/browse/CXF-2362
             Project: CXF
          Issue Type: Bug
         Environment: ibm jdk on linux or aix
            Reporter: Peter Jones


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.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to