RFR: JDK-8288993: Make AwtFramePackTest generic by removing @requires tag [v2]

Harshitha Onkar honkar at openjdk.org
Fri Jun 24 00:53:35 UTC 2022


On Thu, 23 Jun 2022 06:05:57 GMT, Sergey Bylokhov <serb at openjdk.org> 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



More information about the client-libs-dev mailing list