public inbox for gcc-prs@sourceware.org
help / color / mirror / Atom feed
* Re: java/1343: local classes are named incorrectly
@ 2002-05-07 21:20 tromey
0 siblings, 0 replies; 3+ messages in thread
From: tromey @ 2002-05-07 21:20 UTC (permalink / raw)
To: apbianco, bryce, gcc-bugs, gcc-prs, java-prs, tromey
Synopsis: local classes are named incorrectly
Responsible-Changed-From-To: apbianco->tromey
Responsible-Changed-By: tromey
Responsible-Changed-When: Tue May 7 21:20:57 2002
Responsible-Changed-Why:
I'm testing a patch for this.
http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=1343
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: java/1343: local classes are named incorrectly
@ 2002-06-02 9:37 tromey
0 siblings, 0 replies; 3+ messages in thread
From: tromey @ 2002-06-02 9:37 UTC (permalink / raw)
To: bryce, gcc-bugs, gcc-prs, java-prs, tromey
Synopsis: local classes are named incorrectly
State-Changed-From-To: open->closed
State-Changed-By: tromey
State-Changed-When: Sun Jun 2 09:37:02 2002
State-Changed-Why:
I've checked in the fix for this.
http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=1343
^ permalink raw reply [flat|nested] 3+ messages in thread
* java/1343: local classes are named incorrectly
@ 2000-12-20 12:25 bryce
0 siblings, 0 replies; 3+ messages in thread
From: bryce @ 2000-12-20 12:25 UTC (permalink / raw)
To: java-gnats
>Number: 1343
>Category: java
>Synopsis: local classes are named incorrectly
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: apbianco
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Wed Dec 20 12:19:14 PST 2000
>Closed-Date:
>Last-Modified: Wed Aug 16 02:00:01 PDT 2000
>Originator: Bryce McKinlay
>Release: current
>Organization:
>Environment:
>Description:
The following legal java doesn't compile with gcj:
class Locals
{
void a()
{
class B {}
}
void b()
{
class B {}
}
}
This is because gcj names both the local classes "Locals$B"
instead of "Locals$1$B" and "Locals$2$B".
>How-To-Repeat:
>Fix:
>Release-Note:
>Audit-Trail:
Formerly PR gcj/318
From: Alexandre Petit-Bianco <apbianco@cygnus.com>
To: java-gnats@sourceware.cygnus.com
Cc:
Subject: Re: gcj/318: local classes are named incorrectly
Date: Wed, 16 Aug 2000 01:52:22 -0700 (PDT)
bryce@albatross.co.nz writes:
> This is because gcj names both the local classes "Locals$B"
> instead of "Locals$1$B" and "Locals$2$B".
> >How-To-Repeat:
I've been aware of this problem. I also seem to remember that the way
anonymous classes are named isn't right, though it doesn't really
affect how programs run. Thank you.
./A
>Unformatted:
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2002-06-02 16:37 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-05-07 21:20 java/1343: local classes are named incorrectly tromey
-- strict thread matches above, loose matches on Subject: below --
2002-06-02 9:37 tromey
2000-12-20 12:25 bryce
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).