mirror of
https://github.com/openjdk/jdk.git
synced 2026-03-19 04:13:07 +00:00
8191930: [Graal] emits unparseable XML into compile log
Reviewed-by: kvn
This commit is contained in:
parent
487070cc09
commit
3ae56fdf10
@ -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>
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user