[omniORB] remote _is_a() behaviour

Huw Rogers count0@building2.co.jp
Thu, 10 Jan 2002 06:38:28 +0900


I'm testing remote _is_a invocations to
omniORB3 from Perl CORBA::ORBit.

This is handled by omniServant.cc, 81 - 138.

Shouldn't objref->_is_a("IDL:CORBA/Object:1.0")
always return true? omniORB returns false if
the passed string is not exactly the most
derived repo. ID of the interface.

Also if:

interface A { };
interface B : A { };

B_ptr b;

b->_is_a("IDL:A:1.0") should also return true.

In the omniORB to omniORB case, these
remote invocations never occur since the local
ORB shortcuts and presumably returns true.

But anyway, the remote behaviour should
also be correct.

	-Huw