281059 NPE with debug on

git-svn-id: svn+ssh://dev.eclipse.org/svnroot/rt/org.eclipse.jetty/jetty/trunk@426 7e9141cc-0065-0410-87d8-b60c137991c4
This commit is contained in:
Greg Wilkins 2009-06-22 10:40:30 +00:00
parent 919d2a9084
commit 40facf915c
2 changed files with 2 additions and 2 deletions

View File

@ -1,4 +1,5 @@
jetty-7.0.0.M4-SNAPSHOT
+ 281059 NPE in QTP with debug on
jetty-7.0.0.M3 20 June 2009
+ fixed race with expired async listeners

View File

@ -14,7 +14,6 @@
package org.eclipse.jetty.util.thread;
import java.util.Queue;
import java.util.concurrent.ArrayBlockingQueue;
import java.util.concurrent.BlockingQueue;
import java.util.concurrent.ConcurrentLinkedQueue;
@ -416,7 +415,7 @@ public class QueuedThreadPool extends AbstractLifeCycle implements ThreadPool, E
/* ------------------------------------------------------------ */
public String toString()
{
return _name+"{"+getMinThreads()+"<="+getIdleThreads()+"<="+getThreads()+"/"+getMaxThreads()+","+_jobs.size()+"}";
return _name+"{"+getMinThreads()+"<="+getIdleThreads()+"<="+getThreads()+"/"+getMaxThreads()+","+(_jobs==null?-1:_jobs.size())+"}";
}
/* ------------------------------------------------------------ */