Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
[JENKINS-22326] Calling into foreign code from a toString method, lik…
…e Queue.Item.getWhy → QueueTaskDispatcher, is unsafe.
  • Loading branch information
jglick committed Mar 24, 2014
1 parent fa496c7 commit a01ebae
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/src/main/java/hudson/model/Queue.java
Expand Up @@ -1516,7 +1516,7 @@ private Object readResolve() {

@Override
public String toString() {
return getClass().getName() + ':' + task + ':' + getWhy();
return getClass().getName() + ':' + task + ':' + id;
}

/**
Expand Down

0 comments on commit a01ebae

Please sign in to comment.