/[Apache-SVN]
ViewVC logotype

Revision 665501


Jump to revision: Previous Next
Author: dreiss
Date: Tue Feb 26 06:40:16 2008 UTC (16 years, 8 months ago)
Changed paths: 1
Log Message:
Ruby exception constructor bugfix

The Ruby exception constructor is modified to accept 0 arguments, which is
how Thrift library code creates exception objects. Without this fix, Thrift
Ruby clients that receive exception objects crash.

The call to super (resolving to ThriftStruct#initialize) is retained, but
is called with the default value (an empty hash) instead of passing the
message along.


Changed paths

Path Details
Directoryincubator/thrift/trunk/compiler/cpp/src/generate/t_rb_generator.cc modified , text changed

infrastructure at apache.org
ViewVC Help
Powered by ViewVC 1.1.26