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

Alexander Zuev kizune at openjdk.java.net
Wed Oct 27 05:15:33 UTC 2021


On Wed, 27 Oct 2021 01:41:30 GMT, Sergey Bylokhov <serb at openjdk.org> wrote:

>> 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 201:
> 
>> 199:             robo.waitForIdle();
>> 200:             try {
>> 201:                 SwingUtilities.invokeAndWait(() -> someText.setInheritsPopupMenu(false));
> 
> Looks like the "commonPopup.isVisible()" and the "btnPopup.isVisible()" below also accessed on non-EDT

You are right, fixed.

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

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



More information about the client-libs-dev mailing list