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]

java/4007: can't find inner class



>Number:         4007
>Category:       java
>Synopsis:       can't find inner class
>Confidential:   no
>Severity:       critical
>Priority:       medium
>Responsible:    unassigned
>State:          open
>Class:          rejects-legal
>Submitter-Id:   net
>Arrival-Date:   Sun Aug 12 02:26:01 PDT 2001
>Closed-Date:
>Last-Modified:
>Originator:     
>Release:        3.1 20010806 (experimental)
>Organization:
>Environment:
System: Linux peach.cygnus.co.uk 2.2.17pre20-ben3 #2 Wed Sep 6 01:14:01 CEST 2000 ppc unknown
Architecture: ppc

	
host: powerpc-unknown-linux-gnu
build: powerpc-unknown-linux-gnu
target: powerpc-unknown-linux-gnu
configured with: /peach/green/net/trunk/gcc/configure --prefix=/peach/green/net/trunk/i --enable-threads --enable-language=c,c++,java --enable-languages=c,c++,java --disable-multilibs --disable-multilib : (reconfigured) 
>Description:
	Compiling the following (to either native or bytecode) results in...
XercesBug.java:5: Type `Entry' not found in declaration of field `fEntries'.
           private Entry[] fEntries = null;
                   ^
This code is from Xerces, and presumably compiles with javac.

public final class XercesBug
{
    static final class OrderedHashtable
    {
        private Entry[] fEntries = null;
	
        public static final class Entry 
	{
	    int x;
        }
    }
} 

 
>How-To-Repeat:
Compile the code above with "gcj -C".
>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]