OSDN Git Service

* testsuite/libjava.jni/register2.java: New file.
authortromey <tromey@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 18 Oct 2006 23:17:04 +0000 (23:17 +0000)
committertromey <tromey@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 18 Oct 2006 23:17:04 +0000 (23:17 +0000)
commitb68dfd9590812041be7f41c9e44877a936bf0b6f
tree090a052b333feb86cf809ba60ebdc7a86794ff1e
parentdf45db482c1b39f2c39dce63ffabab82e8a68c5c
* 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>

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@117867 138bc75d-0d04-0410-961f-82ee72b054a4
libjava/ChangeLog
libjava/java/lang/Class.h
libjava/java/lang/natClass.cc
libjava/jni.cc
libjava/testsuite/libjava.jni/register2.c [new file with mode: 0644]
libjava/testsuite/libjava.jni/register2.java [new file with mode: 0644]
libjava/testsuite/libjava.jni/register2.out [new file with mode: 0644]