Read only archive ; use https://github.com/JacORB/JacORB/issues for new issues
Bug 653 - IDL compiler does not recognise AbstractBase
Summary: IDL compiler does not recognise AbstractBase
Status: REOPENED
Alias: None
Product: JacORB
Classification: Unclassified
Component: IDL compiler (show other bugs)
Version: 1.4 beta 1
Hardware: All All
: P3 normal
Assignee: Gerald Brose
URL:
Depends on:
Blocks:
 
Reported: 2006-01-04 16:08 CET by Anders Hessellund Jensen
Modified: 2013-06-05 03:58 CEST (History)
2 users (show)

See Also:


Attachments
Patch that adds support for AbstractBase (1.91 KB, patch)
2006-01-04 16:10 CET, Anders Hessellund Jensen
Details
Forgot to add AbstractBase.java to the diff (2.67 KB, text/plain)
2006-01-04 16:11 CET, Anders Hessellund Jensen
Details

Note You need to log in before you can comment on or make changes to this bug.
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.