Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Duplicate
-
0.9
-
None
Description
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.
Attachments
Attachments
Issue Links
- duplicates
-
THRIFT-3650 incorrect union serialization
- Closed
- relates to
-
THRIFT-2717 C++V2 generator/library
- Open