From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 20766 invoked by alias); 25 Apr 2003 04:36:01 -0000 Mailing-List: contact gcc-prs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Archive: List-Post: List-Help: Sender: gcc-prs-owner@gcc.gnu.org Received: (qmail 20730 invoked by uid 71); 25 Apr 2003 04:36:00 -0000 Resent-Date: 25 Apr 2003 04:36:00 -0000 Resent-Message-ID: <20030425043600.20727.qmail@sources.redhat.com> Resent-From: gcc-gnats@gcc.gnu.org (GNATS Filer) Resent-Cc: gcc-prs@gcc.gnu.org, gcc-bugs@gcc.gnu.org, java-prs@gcc.gnu.org Resent-Reply-To: gcc-gnats@gcc.gnu.org, Anthony Green Received: (qmail 18900 invoked from network); 25 Apr 2003 04:29:16 -0000 Received: from unknown (HELO localhost.localdomain) (64.163.213.233) by sources.redhat.com with SMTP; 25 Apr 2003 04:29:16 -0000 Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by localhost.localdomain (8.12.8/8.12.8) with ESMTP id h3P4TooV008525 for ; Thu, 24 Apr 2003 21:29:50 -0700 Received: (from green@localhost) by localhost.localdomain (8.12.8/8.12.5/Submit) id h3P4Tnsw008523; Thu, 24 Apr 2003 21:29:49 -0700 Message-Id: <200304250429.h3P4Tnsw008523@localhost.localdomain> Date: Fri, 25 Apr 2003 04:36:00 -0000 From: Anthony Green To: gcc-gnats@gcc.gnu.org X-Send-Pr-Version: 3.113 Subject: java/10491: gcjh should make enclosing class a "friend" of inner classes X-SW-Source: 2003-04/txt/msg01081.txt.bz2 List-Id: >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: