RFR: 8327840: Automate javax/swing/border/Test4129681.java [v3]
Phil Race
prr at openjdk.org
Wed Mar 20 23:18:20 UTC 2024
On Mon, 18 Mar 2024 13:29:37 GMT, Tejesh R <tr at 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
More information about the client-libs-dev
mailing list