This is the mail archive of the
java-prs@sources.redhat.com
mailing list for the Java project.
gcj/318: local classes are named incorrectly
- To: java-gnats at sourceware dot cygnus dot com
- Subject: gcj/318: local classes are named incorrectly
- From: bryce at albatross dot co dot nz
- Date: 16 Aug 2000 04:38:21 -0000
- Reply-To: bryce at albatross dot co dot nz
- Resent-Cc: java-prs at sourceware dot cygnus dot com, green at cygnus dot com
- Resent-Reply-To: java-gnats@sourceware.cygnus.com, bryce@albatross.co.nz
>Number: 318
>Category: gcj
>Synopsis: local classes are named incorrectly
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: apbianco
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Tue Aug 15 21:40:01 PDT 2000
>Closed-Date:
>Last-Modified:
>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:
>Unformatted: