RFR: 8328368: Convert java/awt/image/multiresolution/MultiDisplayTest/MultiDisplayTest.java applet test to main [v2]

Alexey Ivanov aivanov at openjdk.org
Thu Mar 21 18:08:25 UTC 2024


On Thu, 21 Mar 2024 17:19:25 GMT, Alexey Ivanov <aivanov at openjdk.org> wrote:

>> Damon Nguyen has updated the pull request incrementally with one additional commit since the last revision:
>> 
>>   Review comments
>
> test/jdk/java/awt/image/multiresolution/MultiDisplayTest.java line 68:
> 
>> 66:              Then drag parent / child to different displays and check
>> 67:              that the proper image is shown for every window
>> 68:              (must be "black 1x" for non-HiDPI and "blue 2x" for HiDPI).
> 
> What if the scale is not 200%? It's possible on Windows and it's not uncommon.

On a monitor with 150% scale, the blue 2x image is displayed, which makes sense.

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

PR Review Comment: https://git.openjdk.org/jdk/pull/18354#discussion_r1534401458


More information about the client-libs-dev mailing list