import java.io.*;
import java.net.*;
import java.util.*;

class Mwn {

	static Object[] done = new Object[1];

	static Set hung = new HashSet();

	String address = "localhost";

	public void run() {
		Object result = null;

		try {
			final Socket s = new Socket(address, 12345);
			result = s;
		} catch (final IOException ioe) {
			result = ioe;
		} finally {
			synchronized (hung) {
				hung.remove(address);
				hung.notifyAll();
			}
		}

		synchronized (done) {
			done[0] = result;
			done.notifyAll();
		}
	}

}

@@ -510,12 +510,178 @@
 ;%0A%09%09%7D%0A%09%7D
+%0A%09%0A%09public static final String DOMAINCFG = %22Hi%22;%0A%09%0A%09public void falsePositive() throws InterruptedException %7B%0A%09%09synchronized (DOMAINCFG) %7B%0A%09%09%09DOMAINCFG.wait();%0A%09%09%7D%0A%09%7D
 %0A%0A%7D%0A

add false positive test case from bug [ 1460277 ] False positive for MWN