Thread.sleep(1000);
assertEquals(5,tp.getThreads());
assertEquals(1,tp.getIdleThreads());</BUG>
for (int i=1;i<jobs.length;i++)
<BUG>jobs[i]._running=false;
Thread.sleep(1000);
assertEquals(5,tp.getThreads());
jobs = new RunningJob[15];</BUG>
for (int i=0;i<jobs.length;i++)
{

RunningJob[] jobs = new RunningJob[5];
for (int i=0;i<jobs.length;i++)
{
