RFR: JDK-8255439: System Tray icons get corrupted when windows scaling changes [v9]

Harshitha Onkar duke at openjdk.java.net
Mon May 16 22:13:24 UTC 2022


On Mon, 16 May 2022 20:53:45 GMT, Phil Race <prr at openjdk.org> wrote:

>> src/java.desktop/windows/native/libawt/windows/awt_TrayIcon.cpp line 73:
>> 
>>> 71: jfieldID AwtTrayIcon::idID;
>>> 72: jfieldID AwtTrayIcon::actionCommandID;
>>> 73: jmethodID AwtTrayIcon::updateImageDpiID;
>> 
>> I'd rather drop 'Dpi' from the name because the name of the Java method is `updateImage`.
>> 
>> If you prefer, the C++ class method could also be changed to `UpdateImage`, dropping 'DPI'.
>
> yes, that's a good point on the naming

Update PR with the suggested changes.

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

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



More information about the client-libs-dev mailing list