<Swing Dev> RFR: 8266249: javax/swing/JPopupMenu/7156657/bug7156657.java fails on macOS [v4]

Sergey Bylokhov serb at openjdk.java.net
Mon May 10 21:51:03 UTC 2021


On Sat, 8 May 2021 16:01:28 GMT, Alexander Zuev <kizune at openjdk.org> wrote:

>> Fixed popup position taking into account its offset
>> Added a lot of screenshots taking to better understand failures should they happen down the line
>
> Alexander Zuev has updated the pull request incrementally with one additional commit since the last revision:
> 
>   Small fixes

test/jdk/javax/swing/JPopupMenu/7156657/bug7156657.java line 113:

> 111:             public Rectangle call() throws Exception {
> 112:                 return new Rectangle(popupMenu.getLocationOnScreen(),
> 113:                         popupMenu.getSize());

Does it mean that the getBounds method returns the wrong coordinate?

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

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


More information about the swing-dev mailing list