*/
public class DefaultISMLockingDeadlockTest extends JUnitTest {
public void test() throws InterruptedException {
final ISMLocking lock = new DefaultISMLocking();
WriteLock w1 = lock.acquireWriteLock(null);
ReadLock r1 = w1.downgrade();
final InterruptedException[] ex = new InterruptedException[1];
Thread thread = new Thread() {
public void run() {
try {