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/08/14 22:00:14 UTC
[jira] Updated: (THRIFT-565) Structs containing typedefs for
incomparable objects will be considered comparable
[ https://issues.apache.org/jira/browse/THRIFT-565?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Bryan Duxbury updated THRIFT-565:
---------------------------------
Attachment: thrift-565.patch
Can you guys try this out to see if it solves your problems?
> Structs containing typedefs for incomparable objects will be considered comparable
> ----------------------------------------------------------------------------------
>
> Key: THRIFT-565
> URL: https://issues.apache.org/jira/browse/THRIFT-565
> Project: Thrift
> Issue Type: Bug
> Components: Compiler (Java)
> Affects Versions: 0.2
> Reporter: Bryan Duxbury
> Assignee: Bryan Duxbury
> Fix For: 0.2
>
> Attachments: thrift-565.patch
>
>
> The is_comparable method in the Java code generator doesn't resolve typedefs. This means that if you typedef a map or set, for instance, structs including fields of that typedef will be considered comparable even though they should not be.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.