RFR: 8327840: Automate javax/swing/border/Test4129681.java [v3]

Tejesh R tr at openjdk.org
Thu Mar 21 05:14:44 UTC 2024


On Wed, 20 Mar 2024 23:13:53 GMT, Phil Race <prr at openjdk.org> wrote:

>> 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

Updated.

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

PR Review Comment: https://git.openjdk.org/jdk/pull/18336#discussion_r1533256688


More information about the client-libs-dev mailing list