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