Inspectopedia Help

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

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

Only calls that target fields of the current class are reported by this inspection.


synchronized (synList) { synList.notify(); //synList.wait() is never called }

Inspection Details

Available in:

IntelliJ IDEA 2023.3, Qodana for JVM 2023.3


Java, 233.SNAPSHOT

Last modified: 13 July 2023