[omniORB] Problem in marshalling/unmarshalling of discriminated unions

Duncan Grisby duncan at grisby.org
Thu Jul 29 13:01:58 BST 2004


On Wednesday 28 July, Martin Laporte wrote:

> There seems to be a problem in the code generated to marshall and unmarshall
> discriminated unions. More specifically, the _pd__initialised member's value
> is not transmitted, and this causes an exception to be raised when I later
> try to change the discriminant value to something else (within the same case
> as the previous one, of course).

[...]
> The _pd__initialized member is manifestly not transmitted. Now, if I try the
> following code :

The _pd__initialized member should not be transmitted. However, it
should be set when the union is unmarshalled, so that is a bug. I have
fixed it in CVS. In a very short while, I'm going to release 4.0.4, so
you might want to wait for that.

Thanks for the bug report,

Duncan.

-- 
 -- Duncan Grisby         --
  -- duncan at grisby.org     --
   -- http://www.grisby.org --



More information about the omniORB-list mailing list