JNI without Jni_Lookup() ?
Tom Tromey
tromey@redhat.com
Mon Apr 19 17:31:00 GMT 2004
>>>>> "Mohan" == Mohan Embar <gnustuff@thisiscool.com> writes:
Mohan> I personally like CNI a lot. For me, being able to verify
Mohan> method signatures at compile time instead of runtime is the
Mohan> same kind of good feeling that I don't get when doing the sort
Mohan> of creepy, dynamic, runtime method resolution you get with JNI
It would be pretty helpful if we had a tool that could check this sort
of thing at build time. I picture something that looks at class files
using jcf-dump and object files using nm, and reports missing or
"extra" JNI functions. That would be useful for Classpath and Gtk
peer development.
Tom
More information about the Java
mailing list