提交 0a432fcc 编写于 作者: N never

8191930: [Graal] emits unparseable XML into compile log

Reviewed-by: kvn
上级 63f2ef73
......@@ -391,7 +391,10 @@ void CompileTask::log_task_done(CompileLog* log) {
if (!_is_success) {
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>
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册