提交 a01ebae1 编写于 作者: J Jesse Glick

[JENKINS-22326] Calling into foreign code from a toString method, like...

[JENKINS-22326] Calling into foreign code from a toString method, like Queue.Item.getWhy → QueueTaskDispatcher, is unsafe.
上级 fa496c7b
......@@ -1516,7 +1516,7 @@ public class Queue extends ResourceController implements Saveable {
@Override
public String toString() {
return getClass().getName() + ':' + task + ':' + getWhy();
return getClass().getName() + ':' + task + ':' + id;
}
/**
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册