gcc/libjava/testsuite
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
..
config
lib libjava.exp (libjava_init): Call the GCJ_UNDER_TEST with the -B$specdir. 2006-07-04 22:58:54 +02:00
libjava.cni re PR java/9577 (Linker error for legal Java/CNI code if method parameters are reversed) 2003-09-17 15:25:07 +00:00
libjava.compile re PR java/20418 (ICE if variable name is omitted in an initialiser and a qualified type for the variable is used) 2006-05-11 17:52:42 +00:00
libjava.jacks * testsuite/libjava.jacks/jacks.exp (load_gcc_lib): Removed. 2006-09-12 16:28:43 +00:00
libjava.jar jar.exp (gcj_jar_interpret): Updated. 2004-12-21 01:01:08 +00:00
libjava.jni register2.java: New file. 2006-10-18 23:17:04 +00:00
libjava.jvmti natevents.cc (env): Delete. 2006-10-17 04:12:59 +00:00
libjava.lang posix.cc (_Jv_platform_nanotime): Return nanoseconds, not microseconds; use gettimeofday when available. 2006-09-14 01:17:31 +00:00
libjava.loader * Merged gcj-abi-2-dev-branch to trunk. 2004-11-25 03:47:08 +00:00
libjava.mauve xfails: Updated to reflect current state of mauve and libjava. 2005-06-26 22:41:31 +02:00
libjava.special special.exp (gcj_special_pr21115): Renamed. 2006-05-18 18:51:35 +00:00
libjava.verify jar.exp (gcj_jar_interpret): Updated. 2004-12-21 01:01:08 +00:00
ChangeLog-old re PR java/15769 (ICE: infinite recursion through gimplify_expr) 2004-06-08 06:30:33 -07:00
Makefile.am gxx-include-dir.m4: In all substitutions, leave $(gcc_version) to be expanded by the Makefile. 2005-03-21 18:12:32 +00:00
Makefile.in re PR target/26792 (need to use autoconf when using newly-added libgcc functions) 2006-09-27 21:24:23 +00:00