/[Apache-SVN]
ViewVC logotype

Revision 810300


Jump to revision: Previous Next
Author: bryanduxbury
Date: Tue Sep 1 23:03:47 2009 UTC (15 years, 2 months ago)
Changed paths: 10
Log Message:
THRIFT-409. java: Add "union" to Thrift

This patch introduces new IDL syntax for creating Unions, explicityly single-valued structs. While the parser changes are portable, this patch only includes the actual generated code changes for the Java library. Other libraries can continue to generate a struct with the same fields and remain compatible until they are able to implement the full shebang.




Changed paths

Path Details
Directoryincubator/thrift/trunk/compiler/cpp/src/generate/t_generator.cc modified , text changed
Directoryincubator/thrift/trunk/compiler/cpp/src/generate/t_java_generator.cc modified , text changed
Directoryincubator/thrift/trunk/compiler/cpp/src/parse/t_struct.h modified , text changed
Directoryincubator/thrift/trunk/compiler/cpp/src/thriftl.ll modified , text changed
Directoryincubator/thrift/trunk/compiler/cpp/src/thrifty.yy modified , text changed
Directoryincubator/thrift/trunk/lib/java/build.xml modified , text changed
Directoryincubator/thrift/trunk/lib/java/src/org/apache/thrift/TBase.java modified , text changed
Directoryincubator/thrift/trunk/lib/java/src/org/apache/thrift/TUnion.java added
Directoryincubator/thrift/trunk/lib/java/test/org/apache/thrift/test/UnionTest.java added
Directoryincubator/thrift/trunk/test/DebugProtoTest.thrift modified , text changed

infrastructure at apache.org
ViewVC Help
Powered by ViewVC 1.1.26