------- Additional Comments From mckinlay at redhat dot com 2004-12-10 05:47 ------- meth->index for an interface method should contain the IDT dispatch index for that method, which allows us to use fast interface dispatch (_Jv_LookupInterfaceMethodIdx) for Method.invoke() calls. Unfortunately, this index is useless without also knowing which interface the method belongs to, and as Tom points out, we do not currently have a way to get from a JNI jMethodID to the interface, hence this PR.
Perhaps a special flag for interface methods would be the best fix in the short term, until we can somehow fix JNI to give us a class/interface from a jMethodID. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=15001