This is the mail archive of the
gcc-prs@gcc.gnu.org
mailing list for the GCC project.
java/9869: Inner class of implemented interface not found
- From: jjc at jclark dot com
- To: gcc-gnats at gcc dot gnu dot org
- Date: 27 Feb 2003 03:23:43 -0000
- Subject: java/9869: Inner class of implemented interface not found
- Reply-to: jjc at jclark dot com
>Number: 9869
>Category: java
>Synopsis: Inner class of implemented interface not found
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: unassigned
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Thu Feb 27 03:26:00 UTC 2003
>Closed-Date:
>Last-Modified:
>Originator: jjc at jclark dot com
>Release: gcc version 3.3 20030217 (prerelease)
>Organization:
>Environment:
>Description:
A.java:
interface A {
class B { }
}
C.java:
class C implements A {
void foo(B b) { }
}
$ gcj C.java A.java
C.java:2: error: Type `B' not found in the declaration of the argument `b' of method `foo'.
void foo(B b) { }
^
1 error
>How-To-Repeat:
>Fix:
>Release-Note:
>Audit-Trail:
>Unformatted: