Read only archive ; use https://github.com/JacORB/JacORB/issues for new issues
Bug 479 - 2.0+ idl compiler cannot compile the idl that has interface inheritance which has the refined attributes.
Summary: 2.0+ idl compiler cannot compile the idl that has interface inheritance which...
Status: RESOLVED INVALID
Alias: None
Product: JacORB
Classification: Unclassified
Component: IDL compiler (show other bugs)
Version: 2.2
Hardware: PC Windows 2000
: P2 major
Assignee: Simon McQueen
URL:
Depends on:
Blocks:
 
Reported: 2004-05-10 09:40 UTC by david
Modified: 2004-10-04 10:36 UTC (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description david 2004-05-10 09:40:22 UTC
2.0+ idl compiler cannot compile the idl that has interface inheritance which 
has the same attributes. For example, the following idl cannot be compiled 
correctly by 2.0+ idl compiler but can be compiled by 1.4 idl compiler.
module ex{
      interface Top
      {
        readonly attribute string CLASS;
      };

      interface ManagedElement:Top
      {
        readonly attribute string CLASS;
      };
Comment 1 Simon McQueen 2004-05-10 10:33:34 UTC
The CORBA spec (02-06-33) section 3.8.5, page 3.25 - Interface Inheritance says:

"Operation and attribute names are used at run-time by both the stub and dynamic
interfaces. As a result, all operations attributes that might apply to a
particular object
must have unique names. This requirement prohibits redefining an operation or
attribute name in a derived interface, as well as inheriting two operations or
attributes
with the same name."

So your IDL is incorrect and JacORB is handling it as per the spec.
Comment 2 Simon McQueen 2004-10-04 10:36:29 UTC
*** Bug 517 has been marked as a duplicate of this bug. ***