On Fri, 6 Sep 2024 06:44:25 GMT, Prasanta Sadhukhan <psadhuk...@openjdk.org> 
wrote:

>>> I guess better to restrict programmatically 
>>> "GTK".equals(UIManager.getLookAndFeel().getName()) Also, add a comment why 
>>> it is not applicable..
>> 
>> For a manual test, it can be run by command line with 
>> `Dswing.defaultlaf=com.sun.java.swing.plaf.gtk.GTKLookAndFeel` option. How 
>> could I restrict programmatically ?
>
> Whatever L&F you are running on irrespective of manually or automated, it 
> should be able to find out via getLookAndFeel..

Yeah, you are right. Test updated to throw `jtreg.SkippedException` if it is 
run for GTK L&F.

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

PR Review Comment: https://git.openjdk.org/jdk/pull/20867#discussion_r1746620391

Reply via email to