RFR: 8017175: [TESTBUG] javax/swing/JPopupMenu/4634626/bug4634626.java sometimes failed on mac [v2]

Prasanta Sadhukhan psadhukhan at openjdk.java.net
Wed Oct 27 05:24:14 UTC 2021


On Wed, 27 Oct 2021 05:15:32 GMT, Alexander Zuev <kizune at openjdk.org> wrote:

>> Moved Swing component modification to the EDT.
>> Increased wait time for popup to show up.
>> Made checking variabled volatile.
>> Generic code cleanup.
>> Removed the test from ProblemList.txt
>
> Alexander Zuev has updated the pull request incrementally with one additional commit since the last revision:
> 
>   Moving access to the popup visibility status to EDT

test/jdk/javax/swing/JPopupMenu/4634626/bug4634626.java line 56:

> 54: 
> 55:     public static JFrame mainFrame = new JFrame("Bug4634626");
> 56:     public JPanel contentPane = new JPanel();

I guess all swing component creation also needs to be in EDT

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

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



More information about the client-libs-dev mailing list