jodd-core/src/main/java/jodd/util/ThreadUtil.java
public static void wait(final Object obj) {
		synchronized (obj) {
			try {
				obj.wait();
			} catch (InterruptedException inex) {
				Thread.currentThread().interrupt();
			}
		}
	}
public static void wait(final Object obj) {
		synchronized (obj) {
			try {
				obj.wait();
			} catch (InterruptedException inex) {
				Thread.currentThread().interrupt();
			}
		}
	}
Waits for a object for synchronization purposes.