[omniORB] Bug: Wrong prototype for out objrefs in implementation skeletons

Andrew Miller ak.miller at auckland.ac.nz
Mon Jul 25 16:16:14 BST 2005


Hi,

I have found a bug in omniORB4:

For following operation
    Test2 performSomeOperation(in Test foo1, inout Test2 foo2, out Test2 foo3,
in string str) raises(x);

the "out Test2" argument should, in the servant skeleton class, be of type
equivalent to Foo::Test2_ptr&. However, instead it is of type
_CORBA_ObjRef_OUT_arg<Foo::_objref_Test2, Foo::Test2_Helper>

See the table on page 1-107 of the CORBA C++ mapping version 1.1.

The same problem does not apply to inout arguments, because the type used is
compatible.

Best regards,
Andrew Miller


----------------------------------------------------------------
This message was sent using IMP, the Internet Messaging Program.



More information about the omniORB-list mailing list