public inbox for java-prs@sourceware.org
help / color / mirror / Atom feed
From: "rmathew at gcc dot gnu dot org" <gcc-bugzilla@gcc.gnu.org>
To: java-prs@gcc.gnu.org
Subject: [Bug java/19870] gcj -C doesn't generate accessors for private members across nested class boundaries
Date: Mon, 23 May 2005 07:45:00 -0000	[thread overview]
Message-ID: <20050523074553.30538.qmail@sourceware.org> (raw)
In-Reply-To: <20050210002019.19870.mark@gcc.gnu.org>


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


  parent reply	other threads:[~2005-05-23  7:45 UTC|newest]

Thread overview: 25+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-02-10  0:26 [Bug java/19870] New: gcj -C compiled code accessing private fields of inner classes from outer class give IllegalAccessError mark at gcc dot gnu dot org
2005-02-10  0:27 ` [Bug java/19870] " pinskia at gcc dot gnu dot org
2005-02-10  0:29 ` pinskia at gcc dot gnu dot org
2005-02-10  0:33 ` pinskia at gcc dot gnu dot org
2005-02-10  9:23 ` pinskia at gcc dot gnu dot org
2005-03-09 18:57 ` [Bug java/19870] gcj -C doesn't generate accessors for private members in inner class mckinlay at redhat dot com
2005-05-19 22:57 ` rmathew at gcc dot gnu dot org
2005-05-23  7:45 ` rmathew at gcc dot gnu dot org [this message]
2005-05-25  6:20 ` [Bug java/19870] gcj -C doesn't generate accessors for private members across nested class boundaries rmathew at gcc dot gnu dot org
2005-05-26  7:32 ` rmathew at gcc dot gnu dot org
2005-05-27  5:11 ` cvs-commit at gcc dot gnu dot org
2005-05-27  5:15 ` cvs-commit at gcc dot gnu dot org
2005-05-27  5:39 ` rmathew at gcc dot gnu dot org
2005-06-19  3:23 ` rmathew at gcc dot gnu dot org
2005-08-14 15:50 ` rmathew at gcc dot gnu dot org
2005-08-16 18:23 ` cvs-commit at gcc dot gnu dot org
2005-08-16 18:32 ` cvs-commit at gcc dot gnu dot org
2005-08-16 18:39 ` rmathew at gcc dot gnu dot org
     [not found] <bug-19870-3639@http.gcc.gnu.org/bugzilla/>
2005-10-05 19:35 ` cvs-commit at gcc dot gnu dot org
2005-10-05 19:40 ` pinskia at gcc dot gnu dot org
2005-12-22 16:45 ` mark at gcc dot gnu dot org
2005-12-23  5:29 ` rmathew at gcc dot gnu dot org
2006-03-11  3:17 ` mmitchel at gcc dot gnu dot org
2006-06-07 18:06 ` mckinlay at redhat dot com
2007-01-09 20:51 ` tromey at gcc dot gnu dot org

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20050523074553.30538.qmail@sourceware.org \
    --to=gcc-bugzilla@gcc.gnu.org \
    --cc=java-prs@gcc.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).