/[Apache-SVN]
ViewVC logotype

Revision 892358


Jump to revision: Previous Next
Author: bryanduxbury
Date: Fri Dec 18 19:41:11 2009 UTC (14 years, 10 months ago)
Changed paths: 10
Log Message:
THRIFT-632. java: Constants of enum types don't behave well

This patch causes constants of all types to be resolved differently by the compiler, and makes it so that constants of enum types contain a reference to the enum type so that code generators can produce the correct names.

Changed paths

Path Details
Directoryincubator/thrift/trunk/compiler/cpp/src/generate/t_java_generator.cc modified , text changed
Directoryincubator/thrift/trunk/compiler/cpp/src/main.cc modified , text changed
Directoryincubator/thrift/trunk/compiler/cpp/src/parse/t_const_value.h modified , text changed
Directoryincubator/thrift/trunk/compiler/cpp/src/parse/t_enum.h modified , text changed
Directoryincubator/thrift/trunk/compiler/cpp/src/parse/t_enum_value.h modified , text changed
Directoryincubator/thrift/trunk/compiler/cpp/src/parse/t_scope.h modified , text changed
Directoryincubator/thrift/trunk/compiler/cpp/src/parse/t_struct.h modified , text changed
Directoryincubator/thrift/trunk/compiler/cpp/src/thrifty.yy modified , text changed
Directoryincubator/thrift/trunk/lib/java/test/org/apache/thrift/test/TCompactProtocolTest.java modified , text changed
Directoryincubator/thrift/trunk/test/DebugProtoTest.thrift modified , text changed

infrastructure at apache.org
ViewVC Help
Powered by ViewVC 1.1.26