On Mon, 13 Dec 2021 20:01:29 GMT, Sergey Bylokhov <s...@openjdk.org> wrote:
>> Use primary screen instead of window main screen to properly convert mouse >> position from screen coordinates to window ones. > > src/java.desktop/macosx/native/libawt_lwawt/awt/a11y/CommonComponentAccessibility.m > line 795: > >> 793: point.y += size.height; >> 794: >> 795: point.y = [[NSScreen screens][0] frame].size.height - point.y; > > isn't the objectAtIndex is widely used than [] in our code base? Fixed ------------- PR: https://git.openjdk.java.net/jdk/pull/6815