e7f7d23387
* testsuite/libjava.jni/register2.java: New file. * testsuite/libjava.jni/register2.out: New file. * testsuite/libjava.jni/register2.c: New file. * java/lang/natClass.cc (_Jv_GetClassNameUtf8): New function. * java/lang/Class.h (_Jv_GetClassNameUtf8): Declare. * jni.cc (struct NativeMethodCacheEntry): New struct. (nathash): Changed type. (hash): Updated. (nathash_find_slot): Likewise. (nathash_find): Likewise. (natrehash): Likewise. (nathash_add): Likewise. (_Jv_JNI_RegisterNatives): Likewise. (_Jv_LookupJNIMethod): Likewise. Idea from Juerg Lehni <juerg@scratchdisk.com> Co-Authored-By: Bryce McKinlay <mckinlay@redhat.com> From-SVN: r117867 |
||
---|---|---|
.. | ||
invocation | ||
bytebuffer.c | ||
bytebuffer.java | ||
bytebuffer.out | ||
calls.c | ||
calls.java | ||
calls.out | ||
cxxtest.cc | ||
cxxtest.java | ||
cxxtest.out | ||
directbuffer.c | ||
directbuffer.java | ||
directbuffer.out | ||
field.c | ||
field.java | ||
field.out | ||
final_method.c | ||
final_method.java | ||
final_method.out | ||
findclass.c | ||
findclass.java | ||
findclass.out | ||
iface.c | ||
iface.java | ||
iface.out | ||
invoke.c | ||
invoke.java | ||
invoke.out | ||
jni.exp | ||
jniutf.c | ||
jniutf.java | ||
jniutf.out | ||
martin.c | ||
martin.java | ||
martin.out | ||
noclass.c | ||
noclass.java | ||
noclass.out | ||
overload.c | ||
overload.java | ||
overload.out | ||
pr11951.c | ||
pr11951.java | ||
pr11951.out | ||
pr18278.c | ||
pr18278.java | ||
pr18278.out | ||
pr23739.c | ||
pr23739.java | ||
pr23739.out | ||
PR15133.c | ||
PR15133.java | ||
PR15133.out | ||
PR18116.c | ||
PR18116.java | ||
PR18116.out | ||
PR28178.c | ||
PR28178.java | ||
PR28178.out | ||
register2.c | ||
register2.java | ||
register2.out | ||
register.c | ||
register.java | ||
register.out | ||
simple_int.c | ||
simple_int.java | ||
simple_int.out | ||
throwit.c | ||
throwit.java | ||
throwit.out | ||
virtual.c | ||
virtual.java | ||
virtual.out |