summaryrefslogtreecommitdiff
path: root/libjava/jni.cc
diff options
context:
space:
mode:
Diffstat (limited to 'libjava/jni.cc')
-rw-r--r--libjava/jni.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/libjava/jni.cc b/libjava/jni.cc
index 7b682f177b7..7fac86ee126 100644
--- a/libjava/jni.cc
+++ b/libjava/jni.cc
@@ -1746,7 +1746,7 @@ _Jv_LookupJNIMethod (jclass klass, _Jv_Utf8Const *name,
if (function == NULL)
{
jstring str = JvNewStringUTF (name->data);
- JvThrow (new java::lang::AbstractMethodError (str));
+ throw new java::lang::AbstractMethodError (str);
}
}