-
Bug
-
Resolution: Duplicate
-
P3
-
None
-
7
-
None
-
generic
-
generic
Looking at webrev for the bug fix of http://monaco.sfbay.sun.com/detail.jsf?cr=6893109/7 http://javaweb.sfbay/jcg/ws-depot/7/tl/nb/archived/2010-11-30-230919.ss145989.tl-pit-2d-awt-swing/logs/webrev/corba/src/share/classes/com/sun/tools/corba/se/idl/toJavaPortable/Stub.java.udiff.html
The line define delegate is missed:
- stream.println (" org.omg.CORBA.portable.Delegate delegate = ((org.omg.CORBA.portable.ObjectImpl) obj)._get_delegate ();");
which effectively causes compliation error:
cannot find symbol for delegate.
See below:
gtee@jsn-sb2500-1: /tmp/idlj $ cat Example.idl
interface Example
{
};
gtee@jsn-sb2500-1: /tmp/idlj $ # FAIL with jdk7/tl_pit/b121 /net/jano1.sfbay/export1/jcg/ws-depot/7/tl/nb/archived/2010-11-30-230919.ss145989.tl-pit-2d-awt-swing/solaris_sparc/bin/idlj Example.idl
gtee@jsn-sb2500-1: /tmp/idlj $ /net/jano1.sfbay/export1/jcg/ws-depot/7/tl/nb/archived/2010-11-30-230919.ss145989.tl-pit-2d-awt-swing/solaris_sparc/bin/javac *.java
_ExampleStub.java:29: cannot find symbol
_set_delegate (delegate);
^
symbol: variable delegate
location: class _ExampleStub
1 error
# OK with jdk7/promotion/b120
gtee@jsn-sb2500-1: /tmp/idlj $ /net/koori.sfbay/onestop/jdk/7/promoted/all/b120/binaries/solaris-sparc/bin/idlj Example.idl
gtee@jsn-sb2500-1: /tmp/idlj $ /net/koori.sfbay/onestop/jdk/7/promoted/all/b120/binaries/solaris-sparc/bin/javac *.java
The line define delegate is missed:
- stream.println (" org.omg.CORBA.portable.Delegate delegate = ((org.omg.CORBA.portable.ObjectImpl) obj)._get_delegate ();");
which effectively causes compliation error:
cannot find symbol for delegate.
See below:
gtee@jsn-sb2500-1: /tmp/idlj $ cat Example.idl
interface Example
{
};
gtee@jsn-sb2500-1: /tmp/idlj $ # FAIL with jdk7/tl_pit/b121 /net/jano1.sfbay/export1/jcg/ws-depot/7/tl/nb/archived/2010-11-30-230919.ss145989.tl-pit-2d-awt-swing/solaris_sparc/bin/idlj Example.idl
gtee@jsn-sb2500-1: /tmp/idlj $ /net/jano1.sfbay/export1/jcg/ws-depot/7/tl/nb/archived/2010-11-30-230919.ss145989.tl-pit-2d-awt-swing/solaris_sparc/bin/javac *.java
_ExampleStub.java:29: cannot find symbol
_set_delegate (delegate);
^
symbol: variable delegate
location: class _ExampleStub
1 error
# OK with jdk7/promotion/b120
gtee@jsn-sb2500-1: /tmp/idlj $ /net/koori.sfbay/onestop/jdk/7/promoted/all/b120/binaries/solaris-sparc/bin/idlj Example.idl
gtee@jsn-sb2500-1: /tmp/idlj $ /net/koori.sfbay/onestop/jdk/7/promoted/all/b120/binaries/solaris-sparc/bin/javac *.java
- duplicates
-
JDK-7004713 regression: cannot find symbol: variable delegate failed compile _Stub
-
- Resolved
-