-
Bug
-
Resolution: Duplicate
-
P3
-
None
-
1.2.0
-
generic
-
generic
I want to be able to compare an enum value returned by TypeCode.member_label(int)
There's a union type "union1" whose discriminator is an enum "enum1".
Since Any.equal is supposed to be true if the two Any objects have the same type
and the same data, and we only allow one instance of each flavor of enum,
unionHelper.type().member_label(0)
should be equal to Any zAny , where
enum1Helper.insert(zAny, enum1.from_int(0));
appears just above the test
brian.preston@eng 1998-06-12
There's a union type "union1" whose discriminator is an enum "enum1".
Since Any.equal is supposed to be true if the two Any objects have the same type
and the same data, and we only allow one instance of each flavor of enum,
unionHelper.type().member_label(0)
should be equal to Any zAny , where
enum1Helper.insert(zAny, enum1.from_int(0));
appears just above the test
brian.preston@eng 1998-06-12
- duplicates
-
JDK-4145490 org.omg.CORBA.Any.equal(Any) not fully implemented
- Closed