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

Alexander Zuev kizune at openjdk.java.net
Wed Oct 27 08:25:13 UTC 2021


On Wed, 27 Oct 2021 05:21:07 GMT, Prasanta Sadhukhan <psadhukhan at openjdk.org> wrote:

>> 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
>
> I guess most of init() also should be in EDT as it works on swing components

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

I do not think that manipulation of non-realized components on main thread is an issue so i would leave it as is.

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

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



More information about the client-libs-dev mailing list