Submitted On 01-DEC-2004
yan.zhuang
This is the first, hope it will be the last, bug that stops me from migrating to sun
Submitted On 01-DEC-2004
yan.zhuang
This is the first, hope it will be the last, bug that stops
me from migrating to sun's implementation.
There was a similar bug (ID: 4712731) reported in July
of 2002. It was closed without any explanation.
The bug actually stops uses of any kind of alias type.
It should be fixed ASAP.
I would like to be informed as soon as it fixed.
Submitted On 18-MAR-2005
dsundstrom
Here is a very simple test to reproduce:
public class AnyTest extends junit.framework.TestCase {
public void testAny() throws Exception {
org.omg.CORBA.Any any = org.omg.CORBA.ORB.init().create_any();
org.omg.IOP.ServiceIdHelper.insert(any, 42);
}
}
The fix should be as simple as replacing com.sun.corba.se.internal.corbaAnyImpl:561
TCUtility.unmarshalIn(in, typeCode, longholder, objholder);
with
TCUtility.unmarshalIn(in, realType(), longholder, objholder);
Submitted On 21-SEP-2006
Cranberry_Lambic
This bug might be fixed in the 1.4.2_09 release but I am seeing it in the latest 1.5.0_08 update.
Submitted On 29-DEC-2006
weberjn
Bug is still in JDK 1.6.0
It also triggers for structs (seems be triggered by all streamed types):
struct ServiceData
{
long id;
sequence<octet> data;
};
ServiceData data = ...
Any any = ORB.init().create_any();
ServiceDataHelper.insert(any, data);
ServiceData data1 = ServiceDataHelper.extract(any);
Submitted On 25-MAR-2009
swehner
We've tested this bug and it is still not working in 1.6.0_u13.
This is really annoying, especially as this bug is really old and it seems to have been fixed in the 1.5.0u11 release... or at least that's what bug 2142288 says.
PLEASE NOTE: JDK6 is formerly known as Project Mustang
|