You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@thrift.apache.org by "Bryan Duxbury (JIRA)" <ji...@apache.org> on 2009/11/11 22:02:39 UTC

[jira] Resolved: (THRIFT-624) compareTo is broken for Unions with binary fields

     [ https://issues.apache.org/jira/browse/THRIFT-624?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Bryan Duxbury resolved THRIFT-624.
----------------------------------

       Resolution: Fixed
    Fix Version/s: 0.2

I just committed this.

> compareTo is broken for Unions with binary fields
> -------------------------------------------------
>
>                 Key: THRIFT-624
>                 URL: https://issues.apache.org/jira/browse/THRIFT-624
>             Project: Thrift
>          Issue Type: Bug
>          Components: Compiler (Java)
>            Reporter: Nathan Marz
>            Assignee: Bryan Duxbury
>             Fix For: 0.2
>
>         Attachments: thrift-624-v2.patch, thrift-624.patch
>
>
> When comparing binary fields, it attempts to do the comparison by casting the objects 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.