How to find out whether another thread is wait()ing?
<p>I notice there is no isWaiting() method. Is it possible to test whether any thread is blocked wait()ing on a specific object? Given a Thread object, is it possible to find which object, if any, that Thread is wait()ing on?</p>
