detail.php
OW2 Forge: Detail: 100240 Component supporting abstract interface

Advanced - Powered by Google


   
Log In
New Account
  
 
Home
My Page
Project Tree
Project Openings
OpenCCM
          
 
 
Summary
Forums
Tracker
Lists
Tasks
Docs
Surveys
News
Files
SVN
                    
 

Tracker: Bugs

Submit New | Browse | Admin | ExportToXml

[ #100240 ] Component supporting abstract interface

Date:
2003-04-10 12:59
Priority:
5
Submitted By:
Sylvain Leblanc (leblanc)
Assigned To:
Nobody (None)
Category:
OMG IDL 3.0 compilation
State:
Open
Summary:
Component supporting abstract interface

Detailed description:
There is a problem with components supporting an abstract interface while feeding the IR3. This bug seem to be related to a problem with local interface which cannot inherit from abstract interface, although it is allowed (see formal/02-06-01 section 3.8.7). The following lines give a snapshot of the bug (on components with test.idl3, on interfaces with test2.idl3). // Components snapshot $ cat test.idl3 module component_support_abs_itf { abstract interface A {}; component B supports A {}; }; $ ir3_feed test.idl3 ir3_feed 0.7: Reading from file test.idl3... ir3_feed 0.7: Preprocessing file test.idl3... ir3_feed 0.7: File test.idl3 preprocessed. ir3_feed 0.7: Compiling test.idl3 file... (Level=1): IDL:component_support_abs_itf/CCM_B_Executor:1.0: ::component_support_abs_itf::A is not a local interface! test.idl3:3: error: invalid local interface inheritance ir3_feed 0.7: Compilation failed: 1 error, 0 warning. // Interfaces snapshot $ cat > test2.idl3 module local_inherits_abstract { abstract interface A {}; local interface B : A {}; }; $ ir3_feed test2.idl3 ir3_feed 0.7: Reading from file test2.idl3... ir3_feed 0.7: Preprocessing file test2.idl3... ir3_feed 0.7: File test2.idl3 preprocessed. ir3_feed 0.7: Compiling test2.idl3 file... (Level=1): IDL:local_inherits_distant/B:1.0: ::local_inherits_distant::A is not a local interface! test2.idl3:3: error: invalid local interface inheritance (Level=1): IDL:local_inherits_distant/B:1.0: ::local_inherits_distant::A is not a local interface! test2.idl3:3: error: invalid local interface inheritance ir3_feed 0.7: Compilation failed: 2 errors, 0 warning.

Add A Comment:

Please login

Followup

Message
Date: 2003-07-24 14:51
Sender: leblanc
An issue (Issue 5910: issue on component supporting abstract
interfaces) has been posted on the OMG components-ftf on this
problem since it's not clear that components and local interfaces
can support abstract
interfaces.

See http://www.omg.org/issues/components-ftf.html#Issue5910 for
more information.

Attached Files:

Name Description Download
No Files Currently Attached

Changes:

Field Old Value Date By
resolution_idNone2003-07-24 14:51leblanc

Copyright © 1999-2008, OW2 Consortium | contact | PS: You have a difficulty, a problem ? Please report an issue using your main OW2 account credentials