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/07 19:43:32 UTC
[jira] Commented: (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:comment-tabpanel&focusedCommentId=12774656#action_12774656 ]
Bryan Duxbury commented on THRIFT-565:
--------------------------------------
Bump - can the reporters of this issue try out the patch?
> 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-v2.patch, 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.