boolean org.omg.CORBA.TypeCode.equals (TypeCode)
implemented by
boolean com.sun.CORBA.idl.TypeCodeImpl.equals (TypeCode)
fails to detect sameness of identical TypeCodes when using the generated code for the "alias" type, and the types using the alias type, the "sequence" type and the "array" type.
============== earlier description: in now-closed bug id 4140900
com.sun.CORBA.TypeCodeImpl#equal gives false for
any unbounded sequence typecodes; even for the same
TypeCode object.
Example:
// IDL
typedef sequence<long> Longs;
// Java
org.omg.CORBA.TypeCode tc = LongsHelper.type();
System.out.println(tc.equal(tc));
prints 'false'
(Review ID: 29092)
=================================
altered synopsis to reflect typedef nature of this bug
brian.preston@eng 1998-06-12
implemented by
boolean com.sun.CORBA.idl.TypeCodeImpl.equals (TypeCode)
fails to detect sameness of identical TypeCodes when using the generated code for the "alias" type, and the types using the alias type, the "sequence" type and the "array" type.
============== earlier description: in now-closed bug id 4140900
com.sun.CORBA.TypeCodeImpl#equal gives false for
any unbounded sequence typecodes; even for the same
TypeCode object.
Example:
// IDL
typedef sequence<long> Longs;
// Java
org.omg.CORBA.TypeCode tc = LongsHelper.type();
System.out.println(tc.equal(tc));
prints 'false'
(Review ID: 29092)
=================================
altered synopsis to reflect typedef nature of this bug
brian.preston@eng 1998-06-12
- duplicates
-
JDK-4148074 TypeCodeImpl.equal fails for array case
-
- Closed
-
-
JDK-4140900 com.sun.CORBA.TypeCodeImpl#equal bug for unbounded sequences
-
- Closed
-