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 2010/11/30 01:43:11 UTC

[jira] Closed: (THRIFT-1009) TUnion does not correctly deep copy a ByteBuffer

     [ https://issues.apache.org/jira/browse/THRIFT-1009?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Bryan Duxbury closed THRIFT-1009.
---------------------------------

       Resolution: Fixed
    Fix Version/s: 0.6
         Assignee: Takashi Yonebayashi

I just committed this. Thanks for the patch, Takashi?

> 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
>            Assignee: Takashi Yonebayashi
>            Priority: Minor
>             Fix For: 0.6
>
>         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.