RFR: 8350924: javax/swing/JMenu/4213634/bug4213634.java fails [v2]

Tejesh R tr at openjdk.org
Tue Mar 4 06:42:04 UTC 2025


On Mon, 3 Mar 2025 08:20:40 GMT, Prasanta Sadhukhan <psadhukhan at openjdk.org> wrote:

>> Test fails in ubuntu OCI system..Made it more robust my adding waitForIdle/delay before commencing test..
>> OCI system is ok with the fix.
>
> Prasanta Sadhukhan has updated the pull request incrementally with one additional commit since the last revision:
> 
>   Test fix

test/jdk/javax/swing/JMenu/4213634/bug4213634.java line 81:

> 79:         frame.setLocationRelativeTo(null);
> 80:         frame.setVisible(true);
> 81:         button.requestFocusInWindow();

Since the root cause is unknown and you are trying to make the test more robust, should we add a delay after `frame.setVisible(true);` ? I'm just suspecting request focus failure after `setVisible`.

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

PR Review Comment: https://git.openjdk.org/jdk/pull/23837#discussion_r1978716169


More information about the client-libs-dev mailing list