RFR: 8282863: java/awt/FullScreen/FullscreenWindowProps/FullscreenWindowProps.java fails on Windows 10 with HiDPI screen [v2]

Alexey Ivanov aivanov at openjdk.java.net
Mon May 16 21:28:33 UTC 2022


On Wed, 4 May 2022 08:00:09 GMT, Dmitry Kulikov <duke at openjdk.java.net> wrote:

>> src/java.desktop/windows/classes/sun/awt/Win32GraphicsDevice.java line 447:
>> 
>>> 445: 
>>> 446:     /**
>>> 447:      * Reapplies the size of this device to the full-screen window.
>> 
>> What is _this device_? There's no device in the parameters of the method.
>> 
>> If you write javadoc, you should document the parameters too.
>
> @aivanov-jdk I've updated the JavaDoc to more specifically reference the GraphicsDevice that owns the added method (and documented the parameters)

Ah, I overlooked the fact that it's a method of a `GraphicsDevice`.

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

PR: https://git.openjdk.java.net/jdk/pull/7835



More information about the client-libs-dev mailing list