public inbox for gcc-prs@sourceware.org
help / color / mirror / Atom feed
* java/9869: Inner class of implemented interface not found
@ 2003-02-27  3:26 jjc
  0 siblings, 0 replies; only message in thread
From: jjc @ 2003-02-27  3:26 UTC (permalink / raw)
  To: gcc-gnats


>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@jclark.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:


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2003-02-27  3:26 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-02-27  3:26 java/9869: Inner class of implemented interface not found jjc

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).