public inbox for java-prs@sourceware.org
help / color / mirror / Atom feed
From: "aph at gcc dot gnu dot org" <gcc-bugzilla@gcc.gnu.org>
To: java-prs@gcc.gnu.org
Subject: [Bug libgcj/24616] linking BC-compiled classes: NoClassDefFoundErrors should be deferred
Date: Sun, 06 Nov 2005 16:15:00 -0000	[thread overview]
Message-ID: <20051106161528.16749.qmail@sourceware.org> (raw)
In-Reply-To: <bug-24616-10268@http.gcc.gnu.org/bugzilla/>



------- Comment #6 from aph at gcc dot gnu dot org  2005-11-06 16:15 -------
You can get the class by generating a special-purpose thunk using the libffi
invocation interface and pointing the vector at the thunk.

Virtual methods are easy to do by adding a suitable "NoClassDefFoundError"
method to class Object; this method will then be inherited by every class.

Instance variables are tricky, but can be done either by adding an inline check
or changing the ABI so that virtual accessor methods are generated for all
public instance variables.  There aren't very many such variables so this might
not be much of a problem.


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=24616


  parent reply	other threads:[~2005-11-06 16:15 UTC|newest]

Thread overview: 31+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-11-01 16:20 [Bug libgcj/24616] New: " thebohemian at gmx dot net
2005-11-01 16:22 ` [Bug libgcj/24616] " tromey at gcc dot gnu dot org
2005-11-01 19:32 ` thebohemian at gmx dot net
2005-11-01 19:38 ` thebohemian at gmx dot net
2005-11-02 11:09 ` thebohemian at gmx dot net
2005-11-05 14:57 ` thebohemian at gmx dot net
2005-11-05 15:59 ` thebohemian at gmx dot net
2005-11-06 16:15 ` aph at gcc dot gnu dot org [this message]
2005-11-07 10:34 ` thebohemian at gmx dot net
2005-11-07 10:40 ` aph at gcc dot gnu dot org
2005-11-07 12:51 ` thebohemian at gmx dot net
2005-11-07 14:47 ` green at redhat dot com
2005-11-07 14:52 ` aph at gcc dot gnu dot org
2005-11-07 15:06 ` green at redhat dot com
2005-11-07 20:03 ` thebohemian at gmx dot net
2005-11-08 10:15 ` thebohemian at gmx dot net
2005-11-08 12:54 ` green at redhat dot com
2005-11-09 15:18 ` thebohemian at gmx dot net
2005-11-09 15:22 ` thebohemian at gmx dot net
2005-11-09 15:28 ` aph at gcc dot gnu dot org
2005-11-16 16:35 ` thebohemian at gmx dot net
2005-11-16 16:51 ` thebohemian at gmx dot net
2005-11-16 17:20 ` aph at gcc dot gnu dot org
2005-11-17 12:39 ` thebohemian at gmx dot net
2005-11-17 13:46 ` aph at gcc dot gnu dot org
2005-12-02 17:43 ` aph at gcc dot gnu dot org
2005-12-05 11:34 ` thebohemian at gmx dot net
2005-12-05 11:52 ` thebohemian at gmx dot net
2005-12-05 13:52 ` [Bug libgcj/24616] linking non-existing " thebohemian at gmx dot net
2006-01-31 16:45 ` thebohemian at gmx dot net
2006-02-01 13:45 ` thebohemian at gmx dot net

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=20051106161528.16749.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).