diff options
author | tromey <tromey@138bc75d-0d04-0410-961f-82ee72b054a4> | 2000-04-20 17:39:30 +0000 |
---|---|---|
committer | tromey <tromey@138bc75d-0d04-0410-961f-82ee72b054a4> | 2000-04-20 17:39:30 +0000 |
commit | df05d14aef99ec10fe7b6cce5998d694bb4011b7 (patch) | |
tree | c3ab210b51d805071744525b1e5c62e9253b4eb7 /libjava/jni.cc | |
parent | 24d8c4e40388e2be4e9f1873f70385e458706386 (diff) | |
download | gcc-df05d14aef99ec10fe7b6cce5998d694bb4011b7.tar.gz |
* jni.cc (_Jv_JNI_PopSystemFrame): Clear `env->ex'.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@33285 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libjava/jni.cc')
-rw-r--r-- | libjava/jni.cc | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/libjava/jni.cc b/libjava/jni.cc index cd45ab8feb2..020f7e85696 100644 --- a/libjava/jni.cc +++ b/libjava/jni.cc @@ -357,7 +357,11 @@ _Jv_JNI_PopSystemFrame (JNIEnv *env) _Jv_JNI_PopLocalFrame (env, NULL, MARK_SYSTEM); if (env->ex) - throw env->ex; + { + jthrowable t = env->ex; + env->ex = NULL; + throw t; + } } // This function is used from other template functions. It wraps the |