This is the mail archive of the gcc-cvs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

r117867 - in /trunk/libjava: ChangeLog java/lan...


Author: tromey
Date: Wed Oct 18 23:17:04 2006
New Revision: 117867

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=117867
Log:

	* 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>

Added:
    trunk/libjava/testsuite/libjava.jni/register2.c
    trunk/libjava/testsuite/libjava.jni/register2.java
    trunk/libjava/testsuite/libjava.jni/register2.out
Modified:
    trunk/libjava/ChangeLog
    trunk/libjava/java/lang/Class.h
    trunk/libjava/java/lang/natClass.cc
    trunk/libjava/jni.cc


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]