William Tam created CXF-4697:
--------------------------------

             Summary: IllegalArgumentException thrown if I have a 
MultivaluedMap parameter in multipart/mixed Content Type
                 Key: CXF-4697
                 URL: https://issues.apache.org/jira/browse/CXF-4697
             Project: CXF
          Issue Type: Bug
          Components: JAX-RS
            Reporter: William Tam


This issue looks like a regression of addressing 
https://issues.apache.org/jira/browse/CXF-3292. MultipartProvider would create 
a LinkedHashMap for a MultivaluedMap type parameter.  As a result LinkedHashMap 
is not assignable to MultivaluedMap (same problem can be expected for any Map 
that is not assignable from LinkedHashMap) and IllegalArgumentException is 
thrown.

Please review the attached patch (I believe that the intended fix of CXF-3292) 
and testcase.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to