Threads blocked on monitor are not woken up after blocking thread calls wait()
Reported by group in EDA040 project.
The test case they described:
- Thread A enters synchronized method x on monitor M.
- Thread B tries to enter synchronized method y on monitor M, becomes blocked.
- Thread A calls wait, still in x.
- Thread B is not unblocked although it should be.
- A third thread, C, calls notifyAll on M. This unblocks B.