issue with commit 78135b2b : remote methods call two times


recently (in commit 78135b2b), the method createAny from
CorbaTemplateProtocol was changed so that an uninitialized value can not
be returned.
It introduces a side effect when calling remote method through corba.
The remote method is now evaluated two times (see the method
"callOperation()" in OperationRepositoryI.cpp). One time explicitly
through the method "evaluate()" and a second time internally through the
method "createAny()" when building the return result.

I slightly modify the code to call evaluate only one time in the
attached patch.


0001-corba-fix-two-calls-to-remote-method.patch2.66 KB