This is the mail archive of the
gcc-prs@gcc.gnu.org
mailing list for the GCC project.
java/4568: static inner classes fails
- To: gcc-gnats at gcc dot gnu dot org
- Subject: java/4568: static inner classes fails
- From: s dot nicolas at videotron dot ca
- Date: 14 Oct 2001 19:56:29 -0000
- Reply-To: s dot nicolas at videotron dot ca
>Number: 4568
>Category: java
>Synopsis: static inner classes fails
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: unassigned
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Sun Oct 14 13:06:01 PDT 2001
>Closed-Date:
>Last-Modified:
>Originator: s.nicolas@videotron.ca
>Release: gcj-3.0.1
>Organization:
>Environment:
linux i686, glibc 2.2.4, kernel 2.4.10
>Description:
gcj doesn't compile classes when they have a
static inner class And call the class without explicit
use of the fqn
Suppose :
class A
{
static class inner
{}
}
If another class like (ex: B) imports
A.inner,
it must call inner A.inner to refer to the inner class
to be commpiled, but with java, this is not compulsory,
once you imported A.inner, inner suffishes to refer to the inner class.
Steff
>How-To-Repeat:
>Fix:
>Release-Note:
>Audit-Trail:
>Unformatted: