Skip to content
Permalink
Browse files

8191930: [Graal] emits unparseable XML into compile log

Reviewed-by: kvn
  • Loading branch information
Tom Rodriguez committed Apr 2, 2020
1 parent 487070c commit 3ae56fdf103cc044d6b28b2f485beed3a500472c
Showing with 4 additions and 1 deletion.
  1. +4 −1 src/hotspot/share/compiler/compileTask.cpp
@@ -393,7 +393,10 @@ void CompileTask::log_task_done(CompileLog* log) {
if (!_is_success) {
assert(_failure_reason != NULL, "missing");
const char* reason = _failure_reason != NULL ? _failure_reason : "unknown";
log->elem("failure reason='%s'", reason);
log->begin_elem("failure reason='");
log->text("%s", reason);
log->print("'");
log->end_elem();
}

// <task_done ... stamp='1.234'> </task>

0 comments on commit 3ae56fd

Please sign in to comment.