changeset 7589:20f199a0929e

7004713: regression: cannot find symbol: variable delegate failed compile _Stub Summary: Also reviewed by ken.cavanaugh@oracle.com Reviewed-by: asaha
author skoppar
date Sun, 05 Dec 2010 22:22:54 -0800
parents cdc4ca035126
children c4ed8d82b083
files corba/src/share/classes/com/sun/tools/corba/se/idl/toJavaPortable/Stub.java
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/corba/src/share/classes/com/sun/tools/corba/se/idl/toJavaPortable/Stub.java	Wed Dec 08 10:43:16 2010 -0800
+++ b/corba/src/share/classes/com/sun/tools/corba/se/idl/toJavaPortable/Stub.java	Sun Dec 05 22:22:54 2010 -0800
@@ -347,6 +347,7 @@
     stream.println ("     org.omg.CORBA.ORB orb = org.omg.CORBA.ORB.init (args, props);");
     stream.println ("   try {");
     stream.println ("     org.omg.CORBA.Object obj = orb.string_to_object (str);");
+    stream.println ("     org.omg.CORBA.portable.Delegate delegate = ((org.omg.CORBA.portable.ObjectImpl) obj)._get_delegate ();");
     stream.println ("     _set_delegate (delegate);");
     stream.println ("   } finally {");
     stream.println ("     orb.destroy() ;");