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

Sergey Bylokhov serb at openjdk.java.net
Wed Oct 27 01:44:15 UTC 2021


On Mon, 25 Oct 2021 12:23:15 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

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

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

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



More information about the client-libs-dev mailing list