This is the mail archive of the gcc-bugs@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]

c++/2535: array of inner interface classes "not found in declaration"



>Number:         2535
>Category:       c++
>Synopsis:       array of inner interface classes "not found in declaration"
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    unassigned
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Wed Apr 11 05:16:01 PDT 2001
>Closed-Date:
>Last-Modified:
>Originator:     Oskar Liljeblad
>Release:        3.0 20010409
>Organization:
>Environment:

>Description:
(Hopefully this is not already in the bugdb...)

$ cat >Test2.java <<__END__
class Test {
  Outer.Inner[] foo;
}
interface Outer {
  public class Inner {}
}
__END__
$ gcj -C Test2.java 
Test2.java:2: Type `Outer.Inner' not found in declaration of field `foo'.
        Outer.Inner[] foo;
           ^
1 error

Oskar Liljeblad (osk@hem.passagen.se)
>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]