This is the mail archive of the java-prs@sourceware.cygnus.com mailing list for the Java project.


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

gcj/176: Inner classes can't see unqualified inner-inner classes



>Number:         176
>Category:       gcj
>Synopsis:       Inner classes can't see unqualified inner-inner classes
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    apbianco
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Wed Mar 15 02:30:00 PST 2000
>Closed-Date:
>Last-Modified:
>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:

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