On Mon, 14 Feb 2022 23:24:23 GMT, Sergey Bylokhov <s...@openjdk.org> wrote:

>> Manukumar V S has updated the pull request incrementally with one additional 
>> commit since the last revision:
>> 
>>   Fixed review comments: waitForIdle() added after frame creation and waits 
>> until button gains focus
>
> test/jdk/javax/swing/JButton/SpaceKeyActivatesButton.java line 67:
> 
>> 65:                     createUI();
>> 66:                 });
>> 67: 
> 
> I think you should add robot.waitForIdle() after the frame creation, and also 
> wait until the button will get a focus, since the "requestFocusInWindow" 
> might be ignored.

Fixed it.

-------------

PR: https://git.openjdk.java.net/jdk/pull/7460

Reply via email to