RFR: 8158801: [TEST_BUG] Mixing tests fail because of focus workaround trick [v44]

Khalid Boulanouare duke at openjdk.org
Fri Dec 12 15:33:51 UTC 2025


On Thu, 11 Dec 2025 18:48:28 GMT, Alexey Ivanov <aivanov at openjdk.org> wrote:

>> test/jdk/java/awt/Mixing/AWT_Mixing/JPopupMenuOverlapping.java line 69:
>> 
>>> 67:             frame.setVisible(false);
>>> 68:         }
>>> 69:         frame = new JFrame("Mixing : Dropdown Overlapping test");
>> 
>> Should the old frame be disposed of instead of just hidden?
>> 
>> Is it even possible that `frame` is not `null`?
>
> This is a question for further refactoring… No need to address it now.

Since this test fails anyway (It seems to fail mainly in Windows 11, I have not seen it failing on Windows Server 2025)   I will have a look at it when working on bug [JDK-8370584](https://bugs.openjdk.org/browse/JDK-8370584)

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

PR Review Comment: https://git.openjdk.org/jdk/pull/25971#discussion_r2614630627


More information about the client-libs-dev mailing list