This method calls Object.wait() without obviously holding a lock on the object. Calling wait() without a lock held will result in an IllegalMonitorStateException being thrown.
IllegalMonitorStateException
This rule is deprecated, use {rule:squid:S2273} instead.