public inbox for gcc-prs@sourceware.org
help / color / mirror / Atom feed
* java/10491: gcjh should make enclosing class a "friend" of inner classes
@ 2003-04-25  4:36 Anthony Green
  0 siblings, 0 replies; 2+ messages in thread
From: Anthony Green @ 2003-04-25  4:36 UTC (permalink / raw)
  To: gcc-gnats


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


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: java/10491: gcjh should make enclosing class a "friend" of inner classes
@ 2003-05-03  2:30 tromey
  0 siblings, 0 replies; 2+ messages in thread
From: tromey @ 2003-05-03  2:30 UTC (permalink / raw)
  To: gcc-bugs, gcc-prs, green, java-prs, nobody, tromey

Synopsis: gcjh should make enclosing class a "friend" of inner classes

Responsible-Changed-From-To: unassigned->tromey
Responsible-Changed-By: tromey
Responsible-Changed-When: Sat May  3 02:30:16 2003
Responsible-Changed-Why:
    I'm handling this
State-Changed-From-To: open->closed
State-Changed-By: tromey
State-Changed-When: Sat May  3 02:30:16 2003
State-Changed-Why:
    I checked in a fix for 3.4.
    For 3.3 you can work around it by running gcjh with
    the appropriate -friend option.

http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=10491


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2003-05-03  2:30 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-04-25  4:36 java/10491: gcjh should make enclosing class a "friend" of inner classes Anthony Green
2003-05-03  2:30 tromey

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).