8154728: JvmtiExport::add_default_read_edges hits a guarantee

Reviewed-by: mgerdin, dholmes, stefank
This commit is contained in:
Robbin Ehn 2016-04-20 10:01:25 +02:00
parent 790431bd5d
commit e61f2f7f5e

View File

@ -428,6 +428,7 @@ JvmtiExport::add_default_read_edges(Handle h_module, TRAPS) {
LogTarget(Trace, jvmti) log;
LogStreamCHeap log_stream(log);
java_lang_Throwable::print(PENDING_EXCEPTION, &log_stream);
log_stream.cr();
CLEAR_PENDING_EXCEPTION;
return;
}