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

bryce@albatross.co.nz bryce@albatross.co.nz
Wed Mar 15 02:30:00 GMT 2000


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


More information about the Java-prs mailing list