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 20:26:39 UTC

[jira] Updated: (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 updated THRIFT-624:
---------------------------------

    Attachment: thrift-624.patch

This patch makes a special case branch for byte[]s.

> 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
>         Attachments: 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.