changeset 1184:3de961371888

5036554: unmarshal error on CORBA alias type in CORBA any Reviewed-by: chegar, smarks
author coffeys
date Wed, 23 Oct 2013 16:45:30 +0100
parents 1a3aa4637b80
children 394f83504abb
files src/share/classes/com/sun/corba/se/impl/corba/AnyImpl.java
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/share/classes/com/sun/corba/se/impl/corba/AnyImpl.java	Thu Jan 16 11:51:53 2014 -0800
+++ b/src/share/classes/com/sun/corba/se/impl/corba/AnyImpl.java	Wed Oct 23 16:45:30 2013 +0100
@@ -587,7 +587,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;