This is the mail archive of the gcc-prs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

java/9869: Inner class of implemented interface not found


>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:


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]