5036554: unmarshal error on CORBA alias type in CORBA any
authorcoffeys
Wed, 23 Oct 2013 16:45:30 +0100
changeset 21432 651f9f813bec
parent 21431 6f404f8e434c
child 21433 800f539aac03
5036554: unmarshal error on CORBA alias type in CORBA any Reviewed-by: chegar, smarks
corba/src/share/classes/com/sun/corba/se/impl/corba/AnyImpl.java
--- a/corba/src/share/classes/com/sun/corba/se/impl/corba/AnyImpl.java	Tue Oct 22 11:40:27 2013 +0100
+++ b/corba/src/share/classes/com/sun/corba/se/impl/corba/AnyImpl.java	Wed Oct 23 16:45:30 2013 +0100
@@ -580,7 +580,7 @@
             java.lang.Object[] objholder = new java.lang.Object[1];
             objholder[0] = object;
             long[] longholder = new long[1];
-            TCUtility.unmarshalIn(in, typeCode, longholder, objholder);
+            TCUtility.unmarshalIn(in, realType(), longholder, objholder);
             value = longholder[0];
             object = objholder[0];
             stream = null;