I notice that the implementation of EventQueue.invokeAndWait does not take into consideration to new/clarified spurious wakeup behaviour of Object.wait.
EVALUATION
Name: osR10079 Date: 01/08/2004
To fix this problem we should add one more field
to InvocationEvent (something like wasCompleted) and check it.
But EventQueue and InvocationEvent in different packages, so
we should add some public method to access this field and this is
API change and thus it's too late for tiger.
###@###.### Jan 08, 2004
======================================================================