RFR: 8285094: Test java/awt/Frame/InvisibleOwner/InvisibleOwner.java failing on Linux [v2]

Alexander Zvegintsev azvegint at openjdk.java.net
Thu Apr 21 18:05:26 UTC 2022


On Thu, 21 Apr 2022 15:23:31 GMT, Phil Race <prr at openjdk.org> wrote:

>> test/jdk/java/awt/Frame/InvisibleOwner/InvisibleOwner.java line 135:
>> 
>>> 133:                             ownedWindowBounds.y + ownedWindowBounds.height / 2);
>>> 134:             robot.mousePress(InputEvent.BUTTON1_MASK);
>>> 135:             robot.mouseRelease(InputEvent.BUTTON1_MASK);
>> 
>> Nit: Shouldn't we use BUTTON1_DOWN_MASK instead of deprecated BUTTON1_MASK?
>
> That is how it was before but I fixed this.

Thought that we are cleaning up such deprecated things.
There is another place with BUTTON1_MASK below though.

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

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



More information about the client-libs-dev mailing list