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:
parent
5bdd3ac1ea
commit
d77a164002
@ -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
|
||||
|
@ -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);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user