Exemple
public
static
class
ClasseA {
Condition c;
public
void
methodeA {
try
{
c.wait();
}
catch
( Exception e ) {
//...
}
}
}
Solution
Remplacez wait() par await()
public
static
class
ClasseA {
Condition c;
public
void
methodeA {
try
{
c.await();
}
catch
( Exception e ) {
//...
}
}
}