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

List:       jacorb-bugs
Subject:    [jacorb-bugs] [Bug 209] New: Copying a long long constant generates bad Java.
From:       bugzilla-daemon () inf ! fu-berlin ! de
Date:       2002-06-14 18:43:49
Message-ID: E17Iw33-0002e4-00 () berners
[Download RAW message or body]

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

           Summary: Copying a long long constant generates bad Java.
           Product: JacORB
           Version: 1.4.0
          Platform: Sun
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: IDL compiler
        AssignedTo: gerald.brose@acm.org
        ReportedBy: wjr@imarkets.com
         QAContact: jacorb-bugs@lists.spline.inf.fu-berlin.de


module foo {
  const long long BAR = 1234567890;
  const long long BAZ = BAR;
};
generates the following BAR.java:
public interface BAR
{
        long value = 1234567890L;
}
which is fine, and the following BAZ.java:
public interface BAZ
{
        long value = foo.BAR.valueL;
}
which isn't.  Looks like when trailing 'L's were added to constants, they got
added to references as well.



------- 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