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

Available in:

IntelliJ IDEA 2023.3, Qodana for JVM 2023.3


Java, 233.SNAPSHOT

Last modified: 13 July 2023