diff options
author | tromey <tromey@138bc75d-0d04-0410-961f-82ee72b054a4> | 2000-02-16 18:42:48 +0000 |
---|---|---|
committer | tromey <tromey@138bc75d-0d04-0410-961f-82ee72b054a4> | 2000-02-16 18:42:48 +0000 |
commit | 3bef506fe785f027eb7a976ca6d8a59a95dc1128 (patch) | |
tree | ca2a7e607d23049fa6a96c2c8eae1ea53af46e9f /libjava | |
parent | 4ff34a1a131eac01a1ecdd18ad7c3737a13969d1 (diff) | |
download | gcc-3bef506fe785f027eb7a976ca6d8a59a95dc1128.tar.gz |
* jni.cc (_Jv_JNI_FindClass): Use ClassLoader.loadClass, not
findClass.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@32013 138bc75d-0d04-0410-961f-82ee72b054a4
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 2f272248444..1dae782a567 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 26f3b049852..b67dd050927 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); } |