RFR: 4938801: The popup does not go when the component is removed [v8]
Abhishek Kumar
abhiscxk at openjdk.org
Fri Aug 1 07:52:03 UTC 2025
On Fri, 1 Aug 2025 07:12:04 GMT, Prasanta Sadhukhan <psadhukhan at 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
More information about the client-libs-dev
mailing list