[jacorb-bugs] [Bug 928] New: Replacing package name via i2jpackage leads to IDL compile errors

bugzilla-daemon at jacorb.org bugzilla-daemon at jacorb.org
Sat Sep 22 17:17:21 CEST 2012


http://www.jacorb.org/cgi-bin/bugzilla/show_bug.cgi?id=928

           Summary: Replacing package name via i2jpackage leads to IDL
                    compile errors
           Product: JacORB
           Version: 2.3.1
          Platform: PC
        OS/Version: Windows NT
            Status: NEW
          Severity: blocker
          Priority: P2
         Component: IDL compiler
        AssignedTo: jacorb-bugs at lists.spline.inf.fu-berlin.de
        ReportedBy: fehlhammer at gmx.de


The following IDL description ONLY compiles with jacidl when NO package name
replacement via i2jpackage is used for Interface I1:

---------------------
module A
{
   interface I1
   {
      exception Ex1 { };
      void testOp1();
   };

   interface I2 : I1
   {
      void testOp2(  ) raises (Ex1);
   };
};

-----------------

As soon as I use i2jpackage (ANT IDL task) to substitute I1 with a replacement
string (for instance: <i2jpackage names="I1:interface1"/>) jacidl fails with
the following error:

[jacorb.idl] ERROR : test.idl, line:24(41): Undefined name: A.I2.Ex1

Can't recover from previous error(s), giving up.

                    void testOp2(  ) raises (Ex1
[jacorb.idl] ERROR : test.idl, line:24(41): Undefined name: A.I2.Ex1

Can't recover from previous error(s), giving up.

Note: The same error exists in jacorb 3.1 IDL.jar


-- 
Configure bugmail: http://www.jacorb.org/cgi-bin/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.


More information about the jacorb-bugs mailing list