On Fri, 1 Aug 2025 07:12:04 GMT, Prasanta Sadhukhan <psadhuk...@openjdk.org> 
wrote:

>> test/jdk/javax/swing/JPopupMenu/TestPopupInvoker.java line 106:
>> 
>>> 104:                 pane.repaint();
>>> 105:             });
>>> 106:             if (!popupHidden.await(1, SECONDS)) {
>> 
>> is it ok to have the same timeout for both latches ?
>> If yes, then a final TIMEOUT variable can be declared and used.
>
> "show" sometimes might take more time so I guess different timeout is ok..

In that case, you may have a time out of 5 sec...

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

PR Review Comment: https://git.openjdk.org/jdk/pull/26407#discussion_r2247238629

Reply via email to