/[Apache-SVN]
ViewVC logotype

Revision 1295995


Jump to revision: Previous Next
Author: bryanduxbury
Date: Thu Mar 1 23:41:09 2012 UTC (12 years, 8 months ago)
Changed paths: 1
Log Message:
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.

Changed paths

Path Details
Directorythrift/trunk/lib/java/src/org/apache/thrift/protocol/TTupleProtocol.java modified , text changed

infrastructure at apache.org
ViewVC Help
Powered by ViewVC 1.1.26