On Fri, 22 Apr 2022 10:24:18 GMT, Alexander Zvegintsev <azveg...@openjdk.org> 
wrote:

>> The test was failing due to it tried to place windows too close to left top 
>> corner, so they got shifted from the dock and top panel on Gnome.
>> 
>> Shifting all test windows fixes the issue.
>> 
>> 
>> Testing is green on all platforms.
>
> Alexander Zvegintsev has updated the pull request incrementally with one 
> additional commit since the last revision:
> 
>   dialog disposal

test/jdk/java/awt/Mixing/MixingOnDialog.java line 87:

> 85:         // Move the mouse pointer to the position where both
> 86:         //    buttons overlap
> 87:         Point heavyLoc = heavy.getLocationOnScreen();

"heavy" is assigned on a different thread, some synchronization could added.

test/jdk/java/awt/Mixing/MixingOnDialog.java line 95:

> 93:         robot.waitForIdle();
> 94: 
> 95:         SwingUtilities.invokeLater(() -> d.dispose());

invokeLater might not be executed before end of the test, it will be run after 
the main method ends.

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

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

Reply via email to