Példa

public static class ClassA {
Condition c;
public void methodA {
try {
c.wait();
} catch ( Exception e ) {
//...
}
}

}
Megoldás
Cserélje le a wait() metódust await() metódusra.

public static class ClassA {
Condition c;
public void methodA {
try {
c.await();
} catch ( Exception e ) {
//...
}
}

}