diff options
author | Tom Tromey <tromey@cygnus.com> | 2000-02-16 18:42:48 +0000 |
---|---|---|
committer | Tom Tromey <tromey@gcc.gnu.org> | 2000-02-16 18:42:48 +0000 |
commit | d77a164002dfb8c14c570c212a3ba3258e2016ef (patch) | |
tree | ca2a7e607d23049fa6a96c2c8eae1ea53af46e9f /libjava | |
parent | 5bdd3ac1ea552a2f5948c396aad615b4cb369088 (diff) | |
download | gcc-d77a164002dfb8c14c570c212a3ba3258e2016ef.zip gcc-d77a164002dfb8c14c570c212a3ba3258e2016ef.tar.gz gcc-d77a164002dfb8c14c570c212a3ba3258e2016ef.tar.bz2 |
jni.cc (_Jv_JNI_FindClass): Use ClassLoader.loadClass, not findClass.
* jni.cc (_Jv_JNI_FindClass): Use ClassLoader.loadClass, not
findClass.
From-SVN: r32013
Diffstat (limited to 'libjava')
-rw-r--r-- | libjava/ChangeLog | 5 | ||||
-rw-r--r-- | libjava/jni.cc | 2 |
2 files changed, 6 insertions, 1 deletions
diff --git a/libjava/ChangeLog b/libjava/ChangeLog index 2f27224..1dae782 100644 --- a/libjava/ChangeLog +++ b/libjava/ChangeLog @@ -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 diff --git a/libjava/jni.cc b/libjava/jni.cc index 26f3b04..b67dd05 100644 --- a/libjava/jni.cc +++ b/libjava/jni.cc @@ -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); } |