On Fri, 24 Jan 2025 17:30:30 GMT, Alexey Ivanov <aiva...@openjdk.org> wrote:
>> Alexander Zvegintsev has updated the pull request incrementally with one >> additional commit since the last revision: >> >> getLocationOnScreen on EDT > > test/jdk/javax/swing/JPopupMenu/NestedFocusablePopupTest.java line 108: > >> 106: Point frameLocation = waitAndGetLocationOnEDT(frame); >> 107: robot.mouseMove(frameLocation.x + frame.getWidth() / 2, >> 108: frameLocation.y + frame.getHeight() / 2); > > Then `frame.getWidth()` and `frame.getHeight()` should also be called on EDT, > shouldn't they? Updated. ------------- PR Review Comment: https://git.openjdk.org/jdk/pull/22729#discussion_r1929241686