Inspectopedia Help

'wait()' without corresponding 'notify()'

Reports calls to Object.wait(), for which no call to the corresponding Object.notify() or Object.notifyAll() can be found.

This inspection only reports calls with qualifiers referencing fields of the current class.


public class Foo { public Object foo = new Object(); void bar() throws InterruptedException {; } }

Inspection Details

By default bundled with:

IntelliJ IDEA 2024.1, Qodana for JVM 2024.1,

Can be installed with plugin:

Java, 241.14841

Last modified: 12 March 2024