[ 
https://issues.apache.org/jira/browse/THRIFT-1833?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14181391#comment-14181391
 ] 

Fabio Ramponi commented on THRIFT-1833:
---------------------------------------

Hi all,
I just started using Thrift in C++, it seems this issue hasn't been resolved 
yet. Do you plan to resolve it in the next releases?

Thanks,

Fabio

> Thrift generates incorrect C++ writer for union
> -----------------------------------------------
>
>                 Key: THRIFT-1833
>                 URL: https://issues.apache.org/jira/browse/THRIFT-1833
>             Project: Thrift
>          Issue Type: Bug
>          Components: C++ - Compiler
>    Affects Versions: 0.9
>            Reporter: Alan Choi
>         Attachments: Thrift-1833.diff
>
>
> The generated union struct c++ writer would write all union fields. This is 
> incorrect. It should only write the field that has been set.
> It causes incompatibility between c++ and Java. A union written by C++ side 
> cannot be read by the Java side.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to