This is the mail archive of the
java@gcc.gnu.org
mailing list for the Java project.
Re: meaning of -fjni
- From: Ranjit Mathew <rmathew at gmail dot com>
- To: Marco Trudel <mtrudel at gmx dot ch>
- Cc: GCJ <java at gcc dot gnu dot org>
- Date: Mon, 03 Jul 2006 12:50:31 +0530
- Subject: Re: meaning of -fjni
- Openpgp: url=http://rmathew.com/aa_6C114B8F.txt
- References: <44A648EA.8040307@gmx.ch>
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Marco Trudel wrote:
>
> What happens when -fjni is omitted? I assume that CNI is the default and
> these two are mutal exclusive. Correct?
Yes. -fjni causes the compiler to emit an indirect call to
a native method via a stub method instead of a direct call
as with CNI.
If you're interested in the details, see build_jni_stub()
in "gcc/java/expr.c".
HTH,
Ranjit.
- --
Ranjit Mathew Email: rmathew AT gmail DOT com
Bangalore, INDIA. Web: http://rmathew.com/
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2.2 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iD8DBQFEqMU/Yb1hx2wRS48RArR9AJ4sC6juzNt4ka16qDxZdA+t+6Vf7ACfc0kv
0Q2S5XZQapp3DcCcSxSZfj4=
=zJsd
-----END PGP SIGNATURE-----