_is_equivalent()

Fredrik Jonsson fredrik.jonsson@sea.ericsson.se
Wed, 25 Feb 1998 15:22:14 +0100


Q: Should CORBA::Object::_is_equivalent() work according
to the following in omniORB2.4:

  Object_impl* oi=new Object_impl();
  // all boa and nameservice code hidden in the constructor
  Object_ptr    op=oi->_this();
  oi->_this()->_is_equivalent(op); // returns true, good

It returns true when the Object_ptr is fetched directly, like
above, fine. But when the Object_ptr is coming in as an argument
sent from a client process it always returns false.

xxxxx::xxxxx(Object_ptr& op) {
	objectimpl->_this()->_is_equivalent(op); // always false
}

Should it compare equal or not? (assuming that the Object_ptr
does dereference to the same implementation object)

--FJ