This is the mail archive of the gcc-prs@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/4568: static inner classes fails



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


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