From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 30566 invoked by alias); 23 May 2005 07:45:55 -0000 Mailing-List: contact java-prs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: java-prs-owner@gcc.gnu.org Received: (qmail 30539 invoked by uid 48); 23 May 2005 07:45:53 -0000 Date: Mon, 23 May 2005 07:45:00 -0000 Message-ID: <20050523074553.30538.qmail@sourceware.org> From: "rmathew at gcc dot gnu dot org" To: java-prs@gcc.gnu.org In-Reply-To: <20050210002019.19870.mark@gcc.gnu.org> References: <20050210002019.19870.mark@gcc.gnu.org> Reply-To: gcc-bugzilla@gcc.gnu.org Subject: [Bug java/19870] gcj -C doesn't generate accessors for private members across nested class boundaries X-Bugzilla-Reason: CC X-SW-Source: 2005-q2/txt/msg00529.txt.bz2 List-Id: ------- Additional Comments From rmathew at gcc dot gnu dot org 2005-05-23 07:45 ------- outer_field_access_p(), build_outer_field_access(), etc. are only for non-static fields (instance variables). Even for some simple testcases, I could not get GCJ to emit correct bytecode for non-static instance variables. Lastly these methods are for access from inside a nested class to a private member in a containing class, not the other way round as given in the testcase for this PR. So a significant surgery is indeed needed to make these cases work with GCJ. If anyone is working on a patch to fix this, I would certainly like to hear from them - I have a partially working patch, but I don't know if I'd be able to finish it given the lack of skills as well as time on my part. -- What |Removed |Added ---------------------------------------------------------------------------- CC| |rmathew at gcc dot gnu dot | |org Last reconfirmed|2005-05-12 16:53:53 |2005-05-23 07:45:49 date| | Summary|gcj -C doesn't generate |gcj -C doesn't generate |accessors for private |accessors for private |members in inner class |members across nested class | |boundaries http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19870