I am Java newbie (and RoR developer).
I have a simple program. Ball is shared amont players. Ball should be passed to random Player.
Ok here goes the code:
You're waiting on the this monitor without having synchronized on it; you need to wait on ball instead
this
ball