[
https://issues.apache.org/jira/browse/THRIFT-804?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Bryan Duxbury updated THRIFT-804:
---------------------------------
Attachment: thrift-804-v2.patch
How about this? Rather than generate the same code over and over, I moved the
Object comparison logic into TBaseHelper and just use that instead.
I kept your test modifications, and it still passes with these changes.
> CompareTo is broken for unions set to map, set, or list
> -------------------------------------------------------
>
> Key: THRIFT-804
> URL: https://issues.apache.org/jira/browse/THRIFT-804
> Project: Thrift
> Issue Type: Bug
> Components: Compiler (Java)
> Reporter: Takashi Yonebayashi
> Assignee: Bryan Duxbury
> Priority: Minor
> Attachments: thrift-804-v2.patch, thrift-804.patch
>
>
> When comparing unions set to map, set, or list, it attempts to cast them to
> Comparable, resulting in a class cast exception.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.