# HG changeset patch # User never # Date 1458076764 25200 # Node ID 2191de2a73f177c0f2161037560957bb324bc8fa # Parent eb4fe2f11579b559867a7dd3c27fb774b622da8d 8151871: [JVMCI] missing HAS_PENDING_EXCEPTION check Reviewed-by: kvn diff -r eb4fe2f11579 -r 2191de2a73f1 hotspot/src/share/vm/jvmci/jvmciCompiler.cpp --- 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 {