summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorparsons <parsons@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>2002-01-04 22:35:40 +0000
committerparsons <parsons@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>2002-01-04 22:35:40 +0000
commite430bcc73a0cd603f2413a88527f18bc612dc149 (patch)
tree1adc2d02663d31be67e1d1e24309a64a731a3fa7
parent489724e238aa434b6fa79b1460fde0417450105c (diff)
downloadATCD-e430bcc73a0cd603f2413a88527f18bc612dc149.tar.gz
* tao/DynamicAny/DynCommon.cpp (insert_reference):
Since the argument is passed in as a CORBA::Object_ptr, and ultimately inserted into the member Any with the non-virtual operator <<=, then dyn_any->to_any()->type ()->id() would always yield "IDL:CORBA/Object:1.0", no matter what dyn_any->type()->id() yields. So the insertion into the memeber Any has been changed to use _tao_replace(), and passing in the dyn_any's type code, which is always of the derived type. Thanks to Mahesh Vedantam <mahesh@ociweb.com> for reporting the problem.
-rw-r--r--TAO/ChangeLogs/ChangeLog-02a15
1 files changed, 15 insertions, 0 deletions
diff --git a/TAO/ChangeLogs/ChangeLog-02a b/TAO/ChangeLogs/ChangeLog-02a
index 7878845490e..63ce7fa548d 100644
--- a/TAO/ChangeLogs/ChangeLog-02a
+++ b/TAO/ChangeLogs/ChangeLog-02a
@@ -1,3 +1,18 @@
+Fri Jan 4 16:30:04 2002 Jeff Parsons <parsons@cs.wustl.edu>
+
+ * tao/DynamicAny/DynCommon.cpp (insert_reference):
+
+ Since the argument is passed in as a CORBA::Object_ptr,
+ and ultimately inserted into the member Any with the
+ non-virtual operator <<=, then
+ dyn_any->to_any()->type ()->id() would always yield
+ "IDL:CORBA/Object:1.0", no matter what
+ dyn_any->type()->id() yields. So the insertion into
+ the memeber Any has been changed to use _tao_replace(),
+ and passing in the dyn_any's type code, which is
+ always of the derived type. Thanks to Mahesh Vedantam
+ <mahesh@ociweb.com> for reporting the problem.
+
Fri Jan 4 15:21:33 2002 Jeff Parsons <parsons@cs.wustl.edu>
* orbsvcs/IFR_Service/ifr_visitor.cpp (visit_factory):