You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@thrift.apache.org by "Hudson (Commented) (JIRA)" <ji...@apache.org> on 2012/03/02 02:10:57 UTC

[jira] [Commented] (THRIFT-1529) TupleProtocol can unintentionally include an extra byte in bit vectors when number of optional fields is an integral of 8

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

Hudson commented on THRIFT-1529:
--------------------------------

Integrated in Thrift #420 (See [https://builds.apache.org/job/Thrift/420/])
    THRIFT-1529. java: TupleProtocol can unintentionally include an extra byte in bit vectors when number of optional fields is an integral of 8

This patch harmonizes the math between writeBitSet and readBitSet to eliminate the mismatch in number of bytes calculation, allowing structs to be serialized correctly. (Revision 1295995)

     Result = FAILURE
bryanduxbury : http://svn.apache.org/viewvc/?view=rev&rev=1295995
Files : 
* /thrift/trunk/lib/java/src/org/apache/thrift/protocol/TTupleProtocol.java

                
> TupleProtocol can unintentionally include an extra byte in bit vectors when number of optional fields is an integral of 8
> -------------------------------------------------------------------------------------------------------------------------
>
>                 Key: THRIFT-1529
>                 URL: https://issues.apache.org/jira/browse/THRIFT-1529
>             Project: Thrift
>          Issue Type: Bug
>          Components: Java - Library
>            Reporter: Bryan Duxbury
>            Assignee: Bryan Duxbury
>             Fix For: 0.9
>
>


--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira