On Fri, 29 May 2026 00:17:49 GMT, Sergey Bylokhov <[email protected]> wrote:
>> Alexander Zvegintsev has updated the pull request incrementally with one >> additional commit since the last revision: >> >> explanatory comment > > src/java.desktop/windows/native/libawt/windows/awt_Toolkit.cpp line 160: > >> 158: >> 159: #define IDT_AWT_MOUSECHECK 0x101 >> 160: #define IDT_AWT_DISPLAYCHANGE 0x102 > > Why can’t all these steps be done in the Java layer? Can we track new, > replaced, and old devices in a similar way to how we do it on macOS and > Linux? Taking into account that old/new can be completely unrelated but still > has same/similar bounds/props so we can match one to another. This will require a larger refactoring and additional testing, so it can be done as a separate fix. Given that there is less than a week before RDP1, I prefer a tested solution. ------------- PR Review Comment: https://git.openjdk.org/jdk/pull/31238#discussion_r3321723508
