Exemple

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

}
Solution
Placez await() dans une boucle while.

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

}