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