jni.cc (_Jv_LookupJNIMethod): Throw UnsatisfiedLinkError, not AbstractMethodError.
* jni.cc (_Jv_LookupJNIMethod): Throw UnsatisfiedLinkError, not AbstractMethodError. From-SVN: r50338
This commit is contained in:
parent
b47931bac9
commit
6eaf690b74
|
@ -1,3 +1,8 @@
|
|||
2002-03-05 Tom Tromey <tromey@redhat.com>
|
||||
|
||||
* jni.cc (_Jv_LookupJNIMethod): Throw UnsatisfiedLinkError, not
|
||||
AbstractMethodError.
|
||||
|
||||
2002-03-04 Adam Megacz <adam@xwt.org>
|
||||
|
||||
* java/net/natInetAddress.cc: Changed USE_WINSOCK to WIN32, added
|
||||
|
|
|
@ -26,7 +26,7 @@ details. */
|
|||
#include <java/lang/Throwable.h>
|
||||
#include <java/lang/ArrayIndexOutOfBoundsException.h>
|
||||
#include <java/lang/StringIndexOutOfBoundsException.h>
|
||||
#include <java/lang/AbstractMethodError.h>
|
||||
#include <java/lang/UnsatisfiedLinkError.h>
|
||||
#include <java/lang/InstantiationException.h>
|
||||
#include <java/lang/NoSuchFieldError.h>
|
||||
#include <java/lang/NoSuchMethodError.h>
|
||||
|
@ -2014,7 +2014,7 @@ _Jv_LookupJNIMethod (jclass klass, _Jv_Utf8Const *name,
|
|||
if (function == NULL)
|
||||
{
|
||||
jstring str = JvNewStringUTF (name->data);
|
||||
throw new java::lang::AbstractMethodError (str);
|
||||
throw new java::lang::UnsatisfiedLinkError (str);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue