On Mon, 18 Mar 2024 13:29:37 GMT, Tejesh R <t...@openjdk.org> wrote: >> Automated the Test `javax/swing/border/Test4129681.java` from manual as >> suggested in JBS description. >> Verified in CI system and its Green. The test has been verified for Metal >> L&F and the same is set explicitly.. > > Tejesh R has updated the pull request incrementally with one additional > commit since the last revision: > > Review updates
test/jdk/javax/swing/border/Test4129681.java line 55: > 53: > 54: > UIManager.setLookAndFeel("javax.swing.plaf.metal.MetalLookAndFeel"); > 55: System.setProperty("sun.java2d.uiScale", "1.0"); If you are going to do this in code it needs to be line 1 of main before we call any java.desktop code. You can also pass it on the command line of the test @run main -Dsun.java2d.uiScale=1 Test4129681 ------------- PR Review Comment: https://git.openjdk.org/jdk/pull/18336#discussion_r1533029624