java/1219: Inner classes can't see unqualified inner-inner classes
bryce@albatross.co.nz
bryce@albatross.co.nz
Wed Dec 20 12:22:00 GMT 2000
>Number: 1219
>Category: java
>Synopsis: Inner classes can't see unqualified inner-inner classes
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: apbianco
>State: closed
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Wed Dec 20 12:17:50 PST 2000
>Closed-Date: Wed Mar 22 23:30:06 PST 2000
>Last-Modified: Wed Mar 22 23:40:01 PST 2000
>Originator: Bryce McKinlay
>Release: gcc version 2.96 20000313 (experimental)
>Organization:
>Environment:
linsux
>Description:
// gcj (20000313) reports "Type `x' not found in the declaration of the
// return type of method `getX'."
public class Scope4
{
class A
{
x getX()
{
return new x();
}
class x {}
}
}
>How-To-Repeat:
Try to compile the test case.
>Fix:
See the patch submitted to fix the PR #172.
>Release-Note:
>Audit-Trail:
Formerly PR gcj/176
From: tromey@sourceware.cygnus.com
To: java-gnats@sourceware.cygnus.com
Cc:
Subject: gcj/176
Date: 15 Mar 2000 16:36:44 -0000
CVSROOT: /cvs/java
Module name: libgcj
Changes by: tromey@sourceware.cygnus.com 00/03/15 08:36:44
Modified files:
libjava/testsuite: ChangeLog
Added files:
libjava/testsuite/libjava.compile: pr176.java
Log message:
* libjava.compile/pr176.java: New file, for PR gcj/176.
Patches:
http://gcc.gnu.org/cgi-bin/gcc/libjava/testsuite/ChangeLog.diff?cvsroot=java&r1=1.72&r2=1.73
http://gcc.gnu.org/cgi-bin/gcc/libjava/testsuite/libjava.compile/pr176.java.diff?cvsroot=java&r1=NONE&r2=1.1
From: Alexandre Petit-Bianco <apbianco@cygnus.com>
To: java-gnats@sourceware.cygnus.com
Cc:
Subject: Re: gcj/176: Inner classes can't see unqualified inner-inner classes
Date: Wed, 15 Mar 2000 13:43:22 -0800 (PST)
bryce@albatross.co.nz writes:
> // gcj (20000313) reports "Type `x' not found in the declaration of the
> // return type of method `getX'."
This is a regression caused by the fix to the PR #172. With the patch
for #172 out, the test passes. I'm re-evaluating my fix to PR #172 and
I'll re-check something in, then I'll close this case.
./A
State-Changed-From-To: open->closed
State-Changed-By: apbianco
State-Changed-When: Wed Mar 22 23:30:06 2000
State-Changed-Why:
I checked in a patch to fix the regression:
http://gcc.gnu.org/ml/gcc-patches/2000-03/msg00790.html
From: apbianco@cygnus.com
To: apbianco@cygnus.com, bryce@albatross.co.nz,
java-gnats@sourceware.cygnus.com
Cc:
Subject: Re: gcj/176
Date: 23 Mar 2000 07:30:06 -0000
Synopsis: Inner classes can't see unqualified inner-inner classes
State-Changed-From-To: open->closed
State-Changed-By: apbianco
State-Changed-When: Wed Mar 22 23:30:06 2000
State-Changed-Why:
I checked in a patch to fix the regression:
http://gcc.gnu.org/ml/gcc-patches/2000-03/msg00790.html
http://sourceware.cygnus.com/cgi-bin/gnatsweb.pl?cmd=view&pr=176&database=java
>Unformatted:
More information about the Gcc-prs
mailing list