gcc/libjava/testsuite/libjava.jni
Tom Tromey e7f7d23387 register2.java: New file.
* 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
2006-10-18 23:17:04 +00:00
..
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 jni.exp (gcj_jni_invocation_test_one): Pass -lgcj to linker for C++ files on Darwin. 2006-09-01 19:52:10 +00:00
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 re PR java/18278 (JNI functions cannot return a weak reference) 2005-11-29 18:34:58 +00:00
pr18278.java re PR java/18278 (JNI functions cannot return a weak reference) 2005-11-29 18:34:58 +00:00
pr18278.out re PR java/18278 (JNI functions cannot return a weak reference) 2005-11-29 18:34:58 +00:00
pr23739.c
pr23739.java
pr23739.out
PR15133.c
PR15133.java
PR15133.out
PR18116.c
PR18116.java
PR18116.out
PR28178.c re PR libgcj/28178 (jniEnv->DeleteLocalRef (null) fails) 2006-06-27 15:33:24 +00:00
PR28178.java re PR libgcj/28178 (jniEnv->DeleteLocalRef (null) fails) 2006-06-27 15:33:24 +00:00
PR28178.out re PR libgcj/28178 (jniEnv->DeleteLocalRef (null) fails) 2006-06-27 15:33:24 +00:00
register2.c register2.java: New file. 2006-10-18 23:17:04 +00:00
register2.java register2.java: New file. 2006-10-18 23:17:04 +00:00
register2.out register2.java: New file. 2006-10-18 23:17:04 +00:00
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