-
Bug
-
Resolution: Fixed
-
P3
-
5.0
-
b31
-
sparc
-
solaris_1
-
Not verified
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-2073228 | 5.0 | Hemanth Puttaswamy | P3 | Closed | Fixed | b32 |
******************************************************************************
###@###.### 2003-08-11
build : /java/re/rip_int_generic/1.0/promoted/fcs/b13/binaries/solsparc
Problem description:
This is recent regression in ripint-generic. Typecode.equal on a object reference type causes ClassCastException
the problems is com.sun.corba.se.impl.corba.TypeCodeImpl.java
733 if (_id.compareTo(_orb.get_primitive_tc(_kind)) == 0) {
^^^^^^^ comparing string to typecode
734 return true;
735 }
736
737 if (tc.id().compareTo(_orb.get_primitive_tc(_kind)) == 0) {
738 return true;
739 }
test :
api_javaidl_AnyTC_LocalAnyTest:Test19
error trace :
java.lang.ClassCastException
at java.lang.String.compareTo(String.java:777)
at com.sun.corba.ee.impl.corba.TypeCodeImpl.equal(TypeCodeImpl.java:733) at api.javaidl.AnyTC.LocalAnyTest.objectTest(LocalAnyTest.java:1421)
at api.javaidl.AnyTC.LocalAnyTest.run(LocalAnyTest.java:86)
at java.lang.Thread.run(Thread.java:534)
*******************************************************************************
###@###.### 2003-08-11
build : /java/re/rip_int_generic/1.0/promoted/fcs/b13/binaries/solsparc
Problem description:
This is recent regression in ripint-generic. Typecode.equal on a object reference type causes ClassCastException
the problems is com.sun.corba.se.impl.corba.TypeCodeImpl.java
733 if (_id.compareTo(_orb.get_primitive_tc(_kind)) == 0) {
^^^^^^^ comparing string to typecode
734 return true;
735 }
736
737 if (tc.id().compareTo(_orb.get_primitive_tc(_kind)) == 0) {
738 return true;
739 }
test :
api_javaidl_AnyTC_LocalAnyTest:Test19
error trace :
java.lang.ClassCastException
at java.lang.String.compareTo(String.java:777)
at com.sun.corba.ee.impl.corba.TypeCodeImpl.equal(TypeCodeImpl.java:733) at api.javaidl.AnyTC.LocalAnyTest.objectTest(LocalAnyTest.java:1421)
at api.javaidl.AnyTC.LocalAnyTest.run(LocalAnyTest.java:86)
at java.lang.Thread.run(Thread.java:534)
*******************************************************************************
- backported by
-
JDK-2073228 TypeCode.equal throws ClassCastException for object reference type
- Closed
-
JDK-2073229 TypeCode.equal throws ClassCastException for object reference type
- Closed