[
https://issues.apache.org/jira/browse/WW-4937?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16473847#comment-16473847
]
ASF subversion and git services commented on WW-4937:
-----------------------------------------------------
Commit dcadfeb2c01b006a0198551ea84c7ac674220f2f in struts's branch
refs/heads/master from [~yasser.zamani]
[ https://gitbox.apache.org/repos/asf?p=struts.git;h=dcadfeb ]
Merge pull request #219 from loomchild/add-sortedset-support
WW-4937 Add SortedSet support to JSON plugin
> Add SortedSet field support to JSON plugin
> ------------------------------------------
>
> Key: WW-4937
> URL: https://issues.apache.org/jira/browse/WW-4937
> Project: Struts 2
> Issue Type: Improvement
> Affects Versions: 2.3.34
> Reporter: Jarek Lipski
> Priority: Minor
> Fix For: 2.6
>
>
> Currently when I try to deserialize a bean that contains fields of type
> SortedSet, I get the following exception: {{}}
> {code:java}
> java.lang.IllegalArgumentException: argument type mismatch{code}
> This is due to the fact that JSONPopulator does not distinguish between Set
> and SortedSet interface.
> This can be fixed by creating a TreeSet for SortedSet fields.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)