Hello, AWT team. Please review a small fix for the issue: https://bugs.openjdk.java.net/browse/JDK-8032864 The fix is available at: http://cr.openjdk.java.net/~pchelko/9/8032864/webrev.01/
I failed to create a general fix for the core problem, so I've made a point fix for this bug. The problem is that CAccessible.getFocusOwner opens a nested loop and goes to EDT. This leads to some unknown reordering of selectors, and we crash. retain/releasing the window around the call to getFocusOwner fixes this particular bug. I've trued to make a minimal fix as it needs to be backported to 8 and 7. I've checked for memory leaks using Instruments. With best regards. Petr.
