[prev in list] [next in list] [prev in thread] [next in thread] 

List:       jacorb-bugs
Subject:    [jacorb-bugs] compile problem with extended interfaces
From:       Cindy Tipper <ctipper () laurelnetworks ! com>
Date:       2002-06-19 20:48:36
Message-ID: 3D10EE24.8010209 () laurelnetworks ! com
[Download RAW message or body]

I am running into a problem with the code generated for an interface 
which extends an interface that has an element with the same name. For 
example, consider the following two IDL files:

Foo.idl:

module project1 {
    interface Foo {
       struct State {
          ....
       };

     readonly attribute State fooState;

     ....

    };
};

Bar.idl:

module project1 {
    interface Bar : Foo {
       struct State {
          ...
       };

     readonly attribute State barState;

     ....
    };
};

The problem is that in the generated BarOperations.java, the return type 
for the barState() method is FooPackage.State. I am converting an app 
that is currently uses the JDK 1.3 ORB and haven't seen this problem before.

Is this a bug? something I can work-around?

Essentials: I am using JacORB 1.3.30 with the 1.3.33 patch to idl.jar.

Regards,
Cindy Tipper


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic