<AWT Dev> Review Request for 6211389: Window.getMostRecentFocusOwner() returns null

Semyon Sadetsky semyon.sadetsky at oracle.com
Tue Mar 1 06:27:24 UTC 2016


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
>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.openjdk.java.net/pipermail/awt-dev/attachments/20160301/5d34d620/attachment.html>


More information about the awt-dev mailing list