[
https://issues.apache.org/jira/browse/THRIFT-1319?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Armaan Sarkar updated THRIFT-1319:
----------------------------------
Attachment: THRIFT-1319_v1.diff
This patch fixes the problem in the java generator (and removes an unnecessary
comment). It also amends TestTUnion to catch this.
> Mismatch between how a union reads and writes a container
> ---------------------------------------------------------
>
> Key: THRIFT-1319
> URL: https://issues.apache.org/jira/browse/THRIFT-1319
> Project: Thrift
> Issue Type: Bug
> Components: Java - Compiler
> Affects Versions: 0.8
> Reporter: Armaan Sarkar
> Assignee: Armaan Sarkar
> Attachments: THRIFT-1319_v1.diff
>
>
> Currently, the TUnion writes a container (map, list or set) without
> information regarding the type of element contained while it reads expecting
> this metadata. Unfortunately, the TUnion serialization test doesn't check for
> this case (a union with a set container).
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira