author | never |
Tue, 15 Mar 2016 14:19:24 -0700 | |
changeset 36612 | 2191de2a73f1 |
parent 36611 | eb4fe2f11579 |
child 36613 | 5c26f28076fa |
child 36796 | c751f445f5d4 |
--- a/hotspot/src/share/vm/jvmci/jvmciCompiler.cpp Tue Mar 15 17:42:28 2016 +0100 +++ b/hotspot/src/share/vm/jvmci/jvmciCompiler.cpp Tue Mar 15 14:19:24 2016 -0700 @@ -162,6 +162,9 @@ CLEAR_PENDING_EXCEPTION; java_lang_Throwable::java_printStackTrace(exception, THREAD); + if (HAS_PENDING_EXCEPTION) { + CLEAR_PENDING_EXCEPTION; + } env->set_failure("exception throw", false); } else {