* jni.cc (_Jv_JNI_PopSystemFrame): If environment has exception
set, throw it.
(call): Don't throw exception here.
From-SVN: r32770
2000-03-26 Tom Tromey <tromey@cygnus.com>
+ * jni.cc (_Jv_JNI_PopSystemFrame): If environment has exception
+ set, throw it.
+ (call): Don't throw exception here.
+
+2000-03-26 Tom Tromey <tromey@cygnus.com>
+
* java/lang/mprec.h: Use SIZEOF_VOID_P.
* interpret.cc: Use SIZEOF_VOID_P.
* include/java-cpool.h (_Jv_storeLong): Use SIZEOF_VOID_P.
_Jv_JNI_PopSystemFrame (JNIEnv *env)
{
_Jv_JNI_PopLocalFrame (env, NULL, MARK_SYSTEM);
+
+ if (env->ex)
+ throw env->ex;
}
// This function is used from other template functions. It wraps the
ret, real_args);
_Jv_JNI_PopSystemFrame (env);
-
- if (env->ex)
- JvThrow (env->ex);
}
#endif /* INTERPRETER */