public inbox for java@gcc.gnu.org
 help / color / mirror / Atom feed
From: Bryce McKinlay <bmckinlay@gmail.com>
To: GCC Java <java@gcc.gnu.org>
Subject: Re: Interface gcj-compiled library with Java programs in a runtime (other than gij)?
Date: Tue, 14 Feb 2012 10:31:00 -0000	[thread overview]
Message-ID: <CALUNu-r9edm5ot-k8Kq-RoQ0cJ8jKFCT0e5yWi7p+chEo1PbbA@mail.gmail.com> (raw)
In-Reply-To: <4F3A2DC7.3000502@redhat.com>

On Tue, Feb 14, 2012 at 9:47 AM, Andrew Haley <aph@redhat.com> wrote:
>
> On 02/13/2012 06:32 PM, David Daney wrote:
> > I am just going from memory here, but I think that the interpreter can
> > only call native code via JNI.
>
> Ahh, if that were really true, interpreted code couldn't call
> Object.<init>() ...


David is saying that "native" methods in interpreted classes can't be
implemented with CNI. Which is true, I think.

Obviously, the interpreter can call native CNI methods in other
(non-interpreted) classes, like Object. Hence the trampoline example.

Bryce

  reply	other threads:[~2012-02-14 10:31 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-02-13  3:01 Yi Lin
2012-02-13  4:01 ` Brian Jones
2012-02-13  4:30   ` Yi Lin
2012-02-13 18:33     ` David Daney
2012-02-14  9:48       ` Andrew Haley
2012-02-14 10:31         ` Bryce McKinlay [this message]
2012-02-14 11:26           ` Yi Lin
2012-02-14 11:44             ` Bryce McKinlay

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=CALUNu-r9edm5ot-k8Kq-RoQ0cJ8jKFCT0e5yWi7p+chEo1PbbA@mail.gmail.com \
    --to=bmckinlay@gmail.com \
    --cc=java@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).