TUnion does not correctly deep copy a ByteBuffer
------------------------------------------------
Key: THRIFT-1009
URL: https://issues.apache.org/jira/browse/THRIFT-1009
Project: Thrift
Issue Type: Bug
Components: Java - Library
Affects Versions: 0.5
Reporter: Takashi Yonebayashi
Priority: Minor
Attachments: THRIFT-1009.patch
When a TUnion makes a deep copy of an object, it currently returns the original
byte buffer when the union is set to be a byte buffer.
This should be changed to a TBaseHelper.copyBinary call.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.