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.
Created attachment 206 [details] Patch that adds support for AbstractBase
Created attachment 207 [details] Forgot to add AbstractBase.java to the diff
added test and the patch
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
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
This is because AbstractBase has not yet been implemented in the IDL compiler.