meaning of -fjni

Ranjit Mathew rmathew@gmail.com
Mon Jul 3 07:20:00 GMT 2006


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



More information about the Java mailing list