[omniORB] Possible bug in handling of enum discriminator labels

Duncan Grisby duncan at grisby.org
Wed Jun 6 19:31:57 BST 2007


On Tuesday 5 June, Michael wrote:

> while developing an Any serializer I found the following behaviour
> when handling labels in unions. It seems liek (in case of enums as
> discriminators) CORBA::TypeCode::member_label returns an ULong
> containing the value of DynEnumImpl::get_as_ulong instead the actual
> enumeration value (so the any returned has a kind() of tk_ulong
> instead of tk_enum).

Yes, you're right. It's a bug. I've fixed it in CVS.

Thanks for the bug report.

Cheers,

Duncan.

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



More information about the omniORB-list mailing list