RFR: 8352149: open/test/jdk/java/awt/Frame/MultiScreenTest.java fails in MacOS
Abhishek Kumar
abhiscxk at openjdk.org
Thu Apr 24 05:26:41 UTC 2025
On Fri, 18 Apr 2025 13:10:10 GMT, Khalid Boulanouare <duke at openjdk.org> wrote:
> Fixes issue in which the test fails when run on multi-screen machine.
>
> Tested on Ubuntu 24.04, MacOS 15 and Windows 11
>
> JTREG
>
> runner starting test: java/awt/Frame/MultiScreenTest.java
> runner finished test: java/awt/Frame/MultiScreenTest.java
> Passed. Execution successful
This test was failing on Solaris platform as per [JDK-4312921](https://bugs.openjdk.org/browse/JDK-4312921) and the test should create multiple frames on second screen.
I converted the test from applet to manual test under this [issue](https://bugs.openjdk.org/browse/JDK-8340437). As per original applet test instruction, `This test is to be run only on multiscreen Solaris machine.` Since Solaris is no longer supported, this test was supposed to verify on Linux.
I couldn't check this test on all platforms (didn't have the multi-monitor setup) and made this to run on all platforms but I think this test should be restricted to run only on Linux machine.
I ran the test (**without your fix**) on Windows, Mac and Linux platform. It failed on Windows and Mac but no issues on Linux.
I suggest to revert back the changes and restrict the test to run only on Linux machine.
-------------
PR Comment: https://git.openjdk.org/jdk/pull/24752#issuecomment-2826418650
More information about the client-libs-dev
mailing list