gcj/318: local classes are named incorrectly
bryce@albatross.co.nz
bryce@albatross.co.nz
Tue Aug 15 21:40:00 GMT 2000
>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:
More information about the Java-prs
mailing list