You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@avalon.apache.org by sc...@freemail.it on 2002/02/15 09:55:12 UTC
Bug in JdbcConnectionPool?
I think there's a bug in Excalibur-4.1 source code.
In newPoolable method of JdbcConnectionPool, I can see:
...
thread.wait(endTime - curMillis);
...
But wait method of Thread class, should stay in a synchronized block, like this:
synchronized (thread) {
thread.wait(endTime - curMillis);
}
Right?
Sandra
-----------------------------------------------------
messaggio inviato con Freemail by superEva
http://www.supereva.it
-----------------------------------------------------
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>