For lots of information about this RANDOM DEADLOCK
please see the issue #31913
The fix for #31913 was done, and thus it could be
closed as FIXED we decided enter a new bug for
CC'ing all people from th original issu
This deadlock can be reproduced any time with PVCS filesystem.
Although I've warned that calling confirmed() method in AWT can lead
to deadlock (see issue #31913, it's still called in AWT).
There are more associated deadlocks (issue #37580 and issue #37596).
I'm still thinking about a possible solution.
This deadlock was fixed by the fix of issue #37596.
Now it is permitted to wait for a command in AWT thread. A modal
dialog is created.
The solution might not be optimal, but it resolves the problem.