diff options
author | bala <balanatarajan@users.noreply.github.com> | 2003-05-23 20:37:14 +0000 |
---|---|---|
committer | bala <balanatarajan@users.noreply.github.com> | 2003-05-23 20:37:14 +0000 |
commit | d278d716822eb00c9666b6e8e1db9f6679557c3a (patch) | |
tree | 49747835071cd351d9eab8889009d69b6957f91a | |
parent | 4e71a6b7c929611dd9f4ad091a4813f3d4b05beb (diff) | |
download | ATCD-d278d716822eb00c9666b6e8e1db9f6679557c3a.tar.gz |
ChangeLogTag:Fri May 23 15:35:18 2003 Balachandran Natarajan <bala@dre.vanderbilt.edu>
-rw-r--r-- | TAO/ChangeLog | 5 | ||||
-rw-r--r-- | TAO/tao/Object.cpp | 6 |
2 files changed, 11 insertions, 0 deletions
diff --git a/TAO/ChangeLog b/TAO/ChangeLog index f58f780924e..cb9529b8cb3 100644 --- a/TAO/ChangeLog +++ b/TAO/ChangeLog @@ -1,3 +1,8 @@ +Fri May 23 15:35:18 2003 Balachandran Natarajan <bala@dre.vanderbilt.edu> + + * tao/Object.cpp (is_nil_i): Added a new conditional check for + null objects in partially evaluated IOR's. + Fri May 23 15:18:32 2003 Balachandran Natarajan <bala@dre.vanderbilt.edu> * TAO_IDL/be_interface.cpp: diff --git a/TAO/tao/Object.cpp b/TAO/tao/Object.cpp index d0678a288bd..30c2b1351b5 100644 --- a/TAO/tao/Object.cpp +++ b/TAO/tao/Object.cpp @@ -371,6 +371,12 @@ CORBA::Object::_proxy_broker (void) CORBA::Boolean CORBA::Object::is_nil_i (CORBA::Object_ptr obj) { + // If the profile length is zero for a non-evaluted IOR it is a + // null-object. + if ((!obj->is_evaluated ()) && + obj->ior ().profiles.length () == 0) + return 1; + // To accomodate new definitions. if (obj->orb_core_) { |