[prev in list] [next in list] [prev in thread] [next in thread] 

List:       jacorb-bugs
Subject:    [jacorb-bugs] [Bug 227] New: Valuetype factories generate duff code for typedef'd parameters
From:       bugzilla-daemon () inf ! fu-berlin ! de
Date:       2002-07-17 11:57:14
Message-ID: E17UnQg-0005lO-00 () berners
[Download RAW message or body]

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

           Summary: Valuetype factories generate duff code for typedef'd
                    parameters
           Product: JacORB
           Version: 1.4.0
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: IDL compiler
        AssignedTo: steve@prismtechnologies.com
        ReportedBy: steve@prismtechnologies.com
         QAContact: jacorb-bugs@lists.spline.inf.fu-berlin.de


After compiling the folowing IDL:

module Test
{
   typedef unsigned long long ULL;

   valuetype Dummy
   {
      factory compose (in ULL val);

      public ULL val;
   };
};

When you try and compile the generated Java you get:

> javac *.java
DummyValueFactory.java:11: cannot resolve symbol
symbol  : class ULL  
location: package Test
        Dummy compose( Test.ULL val);
                           ^
1 error

The typedef has not been resolved to the base type.



------- You are receiving this mail because: -------
You are the QA contact for the bug, or are watching the QA contact.

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic