On Thu, 23 Jun 2022 06:05:57 GMT, Sergey Bylokhov <[email protected]> wrote:

>> Harshitha Onkar has updated the pull request incrementally with one 
>> additional commit since the last revision:
>> 
>>   removed uiScale
>
> test/jdk/java/awt/Frame/AwtFramePackTest.java line 44:
> 
>> 42:  * @summary Tests whether insets are calculated correctly on Windows
>> 43:  * for AWT Frame by checking the actual and expected/preferred frame 
>> sizes.
>> 44:  * @run main/othervm -Dsun.java2d.uiScale=1 AwtFramePackTest
> 
> Please double check that the "-Dsun.java2d.uiScale=1" option is needed here, 
> It does not affect the frame decoration, and I think this can cause the test 
> to fail if the desktop scale=200% is set in the WIndows.

@mrserb Removed uiScale=1,test works on all platforms.

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

PR: https://git.openjdk.org/jdk/pull/9248

Reply via email to