jni.cc (_Jv_JNI_FindClass): Use ClassLoader.loadClass, not findClass.

* jni.cc (_Jv_JNI_FindClass): Use ClassLoader.loadClass, not
	findClass.

From-SVN: r32013
This commit is contained in:
Tom Tromey 2000-02-16 18:42:48 +00:00 committed by Tom Tromey
parent 5bdd3ac1ea
commit d77a164002
2 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2000-02-16 Tom Tromey <tromey@cygnus.com>
* jni.cc (_Jv_JNI_FindClass): Use ClassLoader.loadClass, not
findClass.
2000-02-15 Tom Tromey <tromey@cygnus.com>
* resolve.cc (ncode): Set args_raw_size. Compute jni_cif and

View File

@ -337,7 +337,7 @@ _Jv_JNI_FindClass (JNIEnv *env, const char *name)
loader = env->klass->getClassLoader ();
// FIXME: exception processing.
jclass r = loader->findClass (n);
jclass r = loader->loadClass (n);
return (jclass) wrap_value (env, r);
}