Skip to content
Permalink
Browse files
[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 a01ebae1a4783566e42d74c4edaaf1dc3ed8a43e
Showing with 1 addition and 1 deletion.
  1. +1 −1 core/src/main/java/hudson/model/Queue.java
@@ -1516,7 +1516,7 @@ private Object readResolve() {

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

/**

0 comments on commit a01ebae

Please sign in to comment.