THRIFT-1527. java: Generated implementation of tupleReadStruct in unions return null...
authorBryan Duxbury <bryanduxbury@apache.org>
Thu, 1 Mar 2012 23:43:54 +0000 (23:43 +0000)
committerBryan Duxbury <bryanduxbury@apache.org>
Thu, 1 Mar 2012 23:43:54 +0000 (23:43 +0000)
commit68839504c2f13a058b17391414f40012e54ff398
tree13145267f6fac8c689957d07b805d12c5e964832
parent38087708b5ca5a575bb3bcbbf3c24ab181e1cfc1
THRIFT-1527. java: Generated implementation of tupleReadStruct in unions return null when the setfield is unrecognized

Unrecognized fields will now result in a TProtocolException when reading with the TupleProtocol.

git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1295997 13f79535-47bb-0310-9956-ffa450edef68
compiler/cpp/src/generate/t_java_generator.cc