-
Bug
-
Resolution: Won't Fix
-
P4
-
None
-
1.2.0
-
x86
-
windows_nt
Name: krT82822 Date: 08/10/99
Here is the idl code that I ran through the compiler:
interface A {
};
interface B {
typedef A C;
};
interface D : B::C {
};
module E {
module F {
interface G {
};
};
};
interface H : E::F::G {
};
interface I : ::A {
};
typedef A J;
interface K : J {
};
The idl compiler generated the following code for classes D and K:
public interface D
extends org.omg.CORBA.Object, org.omg.CORBA.portable.IDLEntity,
BPackage.C {
}
public interface K
extends org.omg.CORBA.Object, org.omg.CORBA.portable.IDLEntity,
J {
}
Because Java doesn't support typedefs and classes BPackage.C
and J were never generated, here is what should have been
generated:
public interface D
extends org.omg.CORBA.Object, org.omg.CORBA.portable.IDLEntity,
A {
}
public interface K
extends org.omg.CORBA.Object, org.omg.CORBA.portable.IDLEntity,
A {
}
(Review ID: 85537)
======================================================================