java/10491: gcjh should make enclosing class a "friend" of inner classes

Anthony Green green@localhost.localdomain
Fri Apr 25 04:36:00 GMT 2003


>Number:         10491
>Category:       java
>Synopsis:       gcjh should make enclosing class a "friend" of inner classes
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    unassigned
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Fri Apr 25 04:36:00 UTC 2003
>Closed-Date:
>Last-Modified:
>Originator:     Anthony Green
>Release:        3.3 20021212 (experimental)
>Organization:
>Environment:
System: Linux escape 2.4.18-27.8.0 #1 Fri Mar 14 06:45:49 EST 2003 i686 i686 i386 GNU/Linux
Architecture: i686

	
host: i686-pc-linux-gnu
build: i686-pc-linux-gnu
target: i686-pc-linux-gnu
configured with: /home/green/FSF/GCC/HEAD/gcc/configure --prefix=/home/green/latest/i --enable-languages=c,c++,java : (reconfigured) 
>Description:
	I was just trying to write a native method for an inner class
and noticed a problem with the gcjh output.  I believe the header of
the enclosing class should annotate its inner classes as being
friends, so those inner classes can access all of this0's fields.
>How-To-Repeat:
	Run gcjh on an the enclosing class of an inner class.
>Fix:
	
>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the Java-prs mailing list