Hi Prem,
Component cannot become a global focus owner before it receives the
focus gained event.
Did you try to run focus reg tests with your fix?
--Semyon
On 2/29/2016 10:03 AM, Prem Balakrishnan wrote:
Hi*,*
Please review fix for JDK9,
*Bug: *https://bugs.openjdk.java.net/browse/JDK-6211389
*Webrev:*http://cr.openjdk.java.net/~arapte/prem/6211389/webrev.00/
<http://cr.openjdk.java.net/%7Earapte/prem/6211389/webrev.00/>
*Issue:*
Window.getMostRecentFocusOwner() returns null
*Cause:*
focusowner is NOT set when window gained Focused.
*Fix:*
focusowner is SET when window gained focus.
Fix is tested across all supported platforms(Windows, Linux and Mac).
Regards,
Prem