diff options
author | irfan <irfan@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 2001-09-18 00:06:07 +0000 |
---|---|---|
committer | irfan <irfan@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 2001-09-18 00:06:07 +0000 |
commit | e12b5d4ffb96ffdce21884a491273fb82a65cab9 (patch) | |
tree | 10e8af6827368c6ceb5e733627c5faf5e361b748 /TAO/tao/PortableServer/PolicyS.cpp | |
parent | b792311a6a68d2359ab17efcd36a899eff948baf (diff) | |
download | ATCD-e12b5d4ffb96ffdce21884a491273fb82a65cab9.tar.gz |
ChangeLogTag: Mon Sep 17 19:00:00 2001 Irfan Pyarali <irfan@cs.wustl.edu>
Diffstat (limited to 'TAO/tao/PortableServer/PolicyS.cpp')
-rw-r--r-- | TAO/tao/PortableServer/PolicyS.cpp | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/TAO/tao/PortableServer/PolicyS.cpp b/TAO/tao/PortableServer/PolicyS.cpp index 0199f0e709f..871d5b5ca21 100644 --- a/TAO/tao/PortableServer/PolicyS.cpp +++ b/TAO/tao/PortableServer/PolicyS.cpp @@ -125,16 +125,16 @@ TAO_CORBA_Policy_Perfect_Hash_OpTable::lookup (const char *str, unsigned int len static const class TAO_operation_db_entry wordlist[] = { {"",0},{"",0},{"",0},{"",0}, - {"copy", &POA_CORBA_Policy::copy_skel}, + {"copy", &POA_CORBA_Policy::copy_skel}, {"_is_a", &POA_CORBA_Policy::_is_a_skel}, {"",0}, - {"destroy", &POA_CORBA_Policy::destroy_skel}, + {"destroy", &POA_CORBA_Policy::destroy_skel}, {"",0},{"",0}, {"_interface", &POA_CORBA_Policy::_interface_skel}, {"",0},{"",0}, {"_non_existent", &POA_CORBA_Policy::_non_existent_skel}, {"",0},{"",0}, - {"_get_policy_type", &POA_CORBA_Policy::_get_policy_type_skel}, + {"_get_policy_type", &POA_CORBA_Policy::_get_policy_type_skel}, }; if (len <= MAX_WORD_LENGTH && len >= MIN_WORD_LENGTH) @@ -552,7 +552,8 @@ POA_CORBA_TAO_Policy_Strategized_Proxy_Broker::select_proxy ( ) { int strategy = - TAO_ORB_Core::collocation_strategy (object); + TAO_ORB_Core::collocation_strategy (object, ACE_TRY_ENV); + ACE_CHECK_RETURN (*this->proxy_cache_[strategy]); if (this->proxy_cache_[strategy] != 0) return *this->proxy_cache_[strategy]; |