On 08.02.2012 11:01, Knut Anders Hatlen wrote: <snip>
This deadlock does not happen in Java 6 because the getConnection() method is no longer synchronized, and the synchronized section in getDriver() has been narrowed down (and in Java 7 it's completely removed).
We had the same problem in the replication test code at some point. I can't remember what was done to fix it, maybe the code was restructured to avoid the problem altogether.
-- Kristian
