Read only archive ; use https://github.com/JacORB/JacORB/issues for new issues

Bug 653

Summary: IDL compiler does not recognise AbstractBase
Product: JacORB Reporter: Anders Hessellund Jensen <ahj>
Component: IDL compilerAssignee: Gerald Brose <gerald.brose>
Status: REOPENED ---    
Severity: normal CC: followthemedia, jacorb
Priority: P3    
Version: 1.4 beta 1   
Hardware: All   
OS: All   
Attachments: Patch that adds support for AbstractBase
Forgot to add AbstractBase.java to the diff

Description Anders Hessellund Jensen 2006-01-04 16:08:07 CET
According to the OMG IDL to java mapping 1.2 spec, the IDL compiler is supposed
to recognise AbstractBase and map AbstractBase to java.lang.Object.
Comment 1 Anders Hessellund Jensen 2006-01-04 16:10:10 CET
Created attachment 206 [details]
Patch that adds support for AbstractBase
Comment 2 Anders Hessellund Jensen 2006-01-04 16:11:26 CET
Created attachment 207 [details]
Forgot to add AbstractBase.java to the diff
Comment 3 Alphonse Bendt 2006-07-18 17:18:36 CEST
added test and the patch
Comment 4 Alphonse Bendt 2006-07-19 10:09:56 CEST
reopened bug as the fix is more complex.

* AbstractBase is not a keyword. instead a native type should be used.
* AbstractBase cannot be used everywhere. need checks in the IDL compiler
Comment 5 followthemedia 2013-06-04 17:46:31 CEST
I'm trying to implement a few Fault Tolerance CORBA-compliant features and I've started compiling the FT.idl directly from OMG.

I get this error during the compilation of one of the included files and maybe it's related to this bug.

Using JacORB 3.2.

----

giu 04, 2013 11:43:14 PM org.jacorb.idl.util.IDLLogger error

SEVERE: CORBA_Stream.idl, line:42(53): Undefined name: CORBA.DataOutputStream.AbstractBase
Can't recover from previous error(s), giving up.
	        void write_Abstract         (in AbstractBase

giu 04, 2013 11:43:14 PM org.jacorb.idl.util.IDLLogger error

SEVERE: Parse error 

giu 04, 2013 11:43:14 PM org.jacorb.idl.util.IDLLogger error

SEVERE: CORBA_Stream.idl, line:42(53): Undefined name: CORBA.DataOutputStream.AbstractBase
Can't recover from previous error(s), giving up.
	        void write_Abstract         (in AbstractBase

giu 04, 2013 11:43:14 PM org.jacorb.idl.util.IDLLogger error

SEVERE: Parse error
Comment 6 Nick Cross 2013-06-05 03:58:40 CEST
This is because AbstractBase has not yet been implemented in the IDL compiler.