JNI without Jni_Lookup() ?

Tom Tromey tromey@redhat.com
Mon Apr 19 21:31:00 GMT 2004


>>>>> "Erik" == Erik Poupaert <erik.poupaert@skynet.be> writes:

>> It would be pretty helpful if we had a tool that could check this sort
>> of thing at build time. 

Erik> The linker does that automatically, but only if you ...
Erik> link statically.
Yeah, but this won't work for JNI. One of the problems with JNI is
that every method has two possible manglings. You can't know until
runtime which is the one to use (unless you design some way to tell
gcj about it ahead of time). So, add that to the other reasons that
this approach won't really work...
Tom


More information about the Java mailing list

AltStyle によって変換されたページ (->オリジナル) /