Does -fjni work with recent builds?
Tom Tromey
tromey@redhat.com
Fri Jan 19 15:01:00 GMT 2001
>>>>> "Alex" == Alexandre Petit-Bianco <apbianco@cygnus.com> writes:
Alex> Tom, since `meth' (held by `meth_var') in build_jni_stub is a
Alex> global symbol, shouldn't it be created only once?
Nope. We need a different such symbol for each native method. `meth'
is a per-stub cache of the underlying JNI method.
I don't understand why this doesn't work. `meth' should be local to
the stub (but static). That is why TREE_STATIC is 1 but TREE_PUBLIC
and DECL_EXTERNAL are 0. I must be missing something.
Tom
More information about the Java
mailing list