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 re PR libgcj/16923 (-D* Options passed to JNI_CreateJavaVM are ignored) 2005-02-23 17:36:26 +00:00
bytebuffer.c re PR libgcj/18115 (JNI nio buffer functions only work with byte buffers) 2005-01-07 11:32:07 +00:00
bytebuffer.java re PR libgcj/18115 (JNI nio buffer functions only work with byte buffers) 2005-01-07 11:32:07 +00:00
bytebuffer.out re PR libgcj/18115 (JNI nio buffer functions only work with byte buffers) 2005-01-07 11:32:07 +00:00
calls.c
calls.java
calls.out
cxxtest.cc
cxxtest.java
cxxtest.out
directbuffer.c re PR libgcj/18115 (JNI nio buffer functions only work with byte buffers) 2005-01-07 11:32:07 +00:00
directbuffer.java re PR libgcj/18115 (JNI nio buffer functions only work with byte buffers) 2005-01-07 11:32:07 +00:00
directbuffer.out re PR libgcj/18115 (JNI nio buffer functions only work with byte buffers) 2005-01-07 11:32:07 +00:00
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 re PR libgcj/23739 (JNI: IsAssignableFrom reverses arguments) 2005-09-06 16:01:31 +00:00
pr23739.java re PR libgcj/23739 (JNI: IsAssignableFrom reverses arguments) 2005-09-06 16:01:31 +00:00
pr23739.out re PR libgcj/23739 (JNI: IsAssignableFrom reverses arguments) 2005-09-06 16:01:31 +00:00
PR15133.c
PR15133.java
PR15133.out
PR18116.c re PR libgcj/18116 (JNI uses dot instead of slash as the package separator) 2005-02-14 14:57:37 +00:00
PR18116.java re PR libgcj/18116 (JNI uses dot instead of slash as the package separator) 2005-02-14 14:57:37 +00:00
PR18116.out re PR libgcj/18116 (JNI uses dot instead of slash as the package separator) 2005-02-14 14:57:37 +00:00
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