RFR: 8326497: Window.toFront() fails for iconified windows on Linux [v2]

Maxim Kartashev mkartashev at openjdk.org
Mon Feb 26 05:51:09 UTC 2024


On Sat, 24 Feb 2024 19:06:12 GMT, Phil Race <prr at openjdk.org> wrote:

>> Maxim Kartashev has updated the pull request incrementally with one additional commit since the last revision:
>> 
>>   Extended the test to all platforms and made it headful
>
> test/jdk/java/awt/Frame/Iconify/IconifiedToFront.java line 29:
> 
>> 27:  * @requires os.family == "linux"
>> 28:  * @library /test/lib
>> 29:  * @run main IconifiedToFront
> 
> Well, the testing noticed for me that this fails because you don't specify 
> @key headless
> 
> Also the requires os.family == linux surely should not be needed
> If this is the desired JDK behaviour it should do the same on all platforms.

I'm assuming you meant `@key headful`, right?

The test, unfortunately, fails both on macOS and Windows. I guess the same thing has be done there as well, but I don't have the hardware handy at the moment. Will get back to it later.

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

PR Review Comment: https://git.openjdk.org/jdk/pull/17985#discussion_r1502068190


More information about the client-libs-dev mailing list