The fix looks good to me.
Thanks,
Alexandr.
On 22/12/15 14:20, Semyon Sadetsky wrote:
Hello,
Please review fix for JDK9:
bug: https://bugs.openjdk.java.net/browse/JDK-8139218
webrev: http://cr.openjdk.java.net/~ssadetsky/8139218/webrev.00/
The root cause: when window gain focus come for window that is hidden
already focus rollback to another window cannot be done synchronously.
So number of consequent attempts to set focus to the previous
component are usually failed and the focus target is shifted to the
next in the focus traversal cycle.
Solution: try to wait a small time until the parent HW component gain
the asynchronous focus from native platform.
--Semyon