Bug 2531

Summary: ETCL_Constraint misbehaves with CORBA::ULongLong and CORBA::LongLong
Product: TAO Reporter: Lothar Werzinger <lothar>
Component: Notification ServiceAssignee: Lothar Werzinger <lothar>
Status: NEW ---    
Severity: normal CC: jwillemsen
Priority: P3    
Version: 1.5.1   
Hardware: All   
OS: All   

Description Lothar Werzinger 2006-05-08 19:30:48 CDT
ETCL_Constraint misbehaves with CORBA::ULongLong and CORBA::LongLong

in TAO_ETCL_Literal_Constraint::comparable_type of ETCL_Constraint 
CORBA::ULongLong and CORBA::LongLong are mapped to TAO_ETCL_UNSIGNED and 
TAO_ETCL_SIGNED, but the code in 
TAO_ETCL_Literal_Constraint::TAO_ETCL_Literal_Constraint (CORBA::Any * any) 
only extracts short and long, but no longLong. It also has only a (u)long 
storage defined in ETCL_Constraint.h
Comment 1 Douglas C. Schmidt 2006-05-08 19:41:12 CDT
Hi Lothar, thanks for the bug report.  This problem is unlikely to be fixed 
unless you volunteer to fix it and/or contact one of the commercial support 
companies!  thanks,  Doug
Comment 2 Johnny Willemsen 2006-05-22 08:39:19 CDT
to the generic pool
Comment 3 Johnny Willemsen 2006-06-01 05:40:21 CDT
just accept for generic pool, no idea when someone has time for this.
Comment 4 Johnny Willemsen 2008-03-28 05:09:24 CDT
to Lothar, do you have patches/tests for this?
Comment 5 Lothar Werzinger 2008-03-28 16:11:08 CDT
No I don't. But it is pretty obvious that a 32bit variable won't be able to hold a 64 bit value.