src/share/classes/com/sun/tools/corba/se/idl/toJavaPortable/Stub.java

changeset 236
33ca1bceec2d
parent 227
459c07278c3c
child 748
6845b95cba6b
     1.1 --- a/src/share/classes/com/sun/tools/corba/se/idl/toJavaPortable/Stub.java	Wed Dec 08 10:43:16 2010 -0800
     1.2 +++ b/src/share/classes/com/sun/tools/corba/se/idl/toJavaPortable/Stub.java	Sun Dec 05 22:22:54 2010 -0800
     1.3 @@ -347,6 +347,7 @@
     1.4      stream.println ("     org.omg.CORBA.ORB orb = org.omg.CORBA.ORB.init (args, props);");
     1.5      stream.println ("   try {");
     1.6      stream.println ("     org.omg.CORBA.Object obj = orb.string_to_object (str);");
     1.7 +    stream.println ("     org.omg.CORBA.portable.Delegate delegate = ((org.omg.CORBA.portable.ObjectImpl) obj)._get_delegate ();");
     1.8      stream.println ("     _set_delegate (delegate);");
     1.9      stream.println ("   } finally {");
    1.10      stream.println ("     orb.destroy() ;");

mercurial