Commit 6901a009 by Tom Tromey Committed by Tom Tromey

jni.cc (_Jv_LookupJNIMethod): Throw UnsatisfiedLinkError, not AbstractMethodError.

	* jni.cc (_Jv_LookupJNIMethod): Throw UnsatisfiedLinkError, not
	AbstractMethodError.

From-SVN: r50337
parent 3020a4b2
2002-03-05 Tom Tromey <tromey@redhat.com>
* jni.cc (_Jv_LookupJNIMethod): Throw UnsatisfiedLinkError, not
AbstractMethodError.
2002-03-03 Bryce McKinlay <bryce@waitaki.otago.ac.nz> 2002-03-03 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
* Makefile.am: Use -bootclasspath, not -CLASSPATH. * Makefile.am: Use -bootclasspath, not -CLASSPATH.
......
...@@ -26,7 +26,7 @@ details. */ ...@@ -26,7 +26,7 @@ details. */
#include <java/lang/Throwable.h> #include <java/lang/Throwable.h>
#include <java/lang/ArrayIndexOutOfBoundsException.h> #include <java/lang/ArrayIndexOutOfBoundsException.h>
#include <java/lang/StringIndexOutOfBoundsException.h> #include <java/lang/StringIndexOutOfBoundsException.h>
#include <java/lang/AbstractMethodError.h> #include <java/lang/UnsatisfiedLinkError.h>
#include <java/lang/InstantiationException.h> #include <java/lang/InstantiationException.h>
#include <java/lang/NoSuchFieldError.h> #include <java/lang/NoSuchFieldError.h>
#include <java/lang/NoSuchMethodError.h> #include <java/lang/NoSuchMethodError.h>
...@@ -2014,7 +2014,7 @@ _Jv_LookupJNIMethod (jclass klass, _Jv_Utf8Const *name, ...@@ -2014,7 +2014,7 @@ _Jv_LookupJNIMethod (jclass klass, _Jv_Utf8Const *name,
if (function == NULL) if (function == NULL)
{ {
jstring str = JvNewStringUTF (name->data); jstring str = JvNewStringUTF (name->data);
throw new java::lang::AbstractMethodError (str); throw new java::lang::UnsatisfiedLinkError (str);
} }
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment