From 083824e40a9c9b82cb88520f564a3c8e4d18b0f1 Mon Sep 17 00:00:00 2001 From: nanbor Date: Tue, 18 Apr 2000 08:20:08 +0000 Subject: ChangeLogTag:Tue Apr 18 03:17:37 2000 Nanbor Wang --- TAO/ChangeLogs/ChangeLog-02a | 8 ++++++++ TAO/tao/LocalObject.cpp | 6 +----- TAO/tao/corba.h | 1 + 3 files changed, 10 insertions(+), 5 deletions(-) diff --git a/TAO/ChangeLogs/ChangeLog-02a b/TAO/ChangeLogs/ChangeLog-02a index 3a6aa1044f3..3637ced020f 100644 --- a/TAO/ChangeLogs/ChangeLog-02a +++ b/TAO/ChangeLogs/ChangeLog-02a @@ -1,3 +1,11 @@ +Tue Apr 18 03:17:37 2000 Nanbor Wang + + * tao/corba.h: Included "tao/LocalObject" in this file. + + * tao/LocalObject.h: + * tao/LocalObject.cpp: Changed <_is_a> operation back to throw + NO_IMPLEMENT exception. + Tue Apr 18 02:03:12 2000 Nanbor Wang * TAO_IDL/be/be_interface.cpp: diff --git a/TAO/tao/LocalObject.cpp b/TAO/tao/LocalObject.cpp index b3874f0e4e9..7bff5692b06 100644 --- a/TAO/tao/LocalObject.cpp +++ b/TAO/tao/LocalObject.cpp @@ -51,11 +51,7 @@ CORBA::Boolean CORBA::LocalObject::_is_a (const CORBA::Char *type_id, CORBA::Environment &) { - if ((!ACE_OS::strcmp ((char *)type_id, "IDL:omg.org/CORBA/LocalObject:1.0")) || - (!ACE_OS::strcmp ((char *)type_id, "IDL:omg.org/CORBA/Object:1.0"))) - return 1; // success using local knowledge - else - return 0; + ACE_THROW_RETURN (CORBA::NO_IMPLEMENT (), 0); } const char* diff --git a/TAO/tao/corba.h b/TAO/tao/corba.h index 36305c7615f..38bd014ceea 100644 --- a/TAO/tao/corba.h +++ b/TAO/tao/corba.h @@ -44,6 +44,7 @@ #include "tao/Request.h" #include "tao/Server_Request.h" #include "tao/Object.h" +#include "tao/LocalObject.h" #include "tao/Context.h" #include "tao/Typecode.h" -- cgit v1.2.1