[jdk25] Integrated: 8359889: java/awt/MenuItem/SetLabelTest.java inadvertently triggers clicks on items pinned to the taskbar
Manukumar V S
mvs at openjdk.org
Mon Jul 7 13:17:48 UTC 2025
On Fri, 4 Jul 2025 09:27:33 GMT, Manukumar V S <mvs at openjdk.org> wrote:
> This is the backport of a test stabilisation fix done by @manukumarvs and approved by @aivanov-jdk.
>
> Issue:
> In Windows, java/awt/MenuItem/SetLabelTest.java inadvertently triggers clicks on items pinned to the taskbar. This may open some other UI item and may interfere further testing on that machine.
>
> Fix:
> Move the test UI to the centre of the screen by calling frame.setLocationRelativeTo(null).
This pull request has now been integrated.
Changeset: 9a73987f
Author: Manukumar V S <mvs at openjdk.org>
Committer: Alexey Ivanov <aivanov at openjdk.org>
URL: https://git.openjdk.org/jdk/commit/9a73987f9b90af97bd2953eea0336565769dbcb7
Stats: 2 lines in 1 file changed: 0 ins; 0 del; 2 mod
8359889: java/awt/MenuItem/SetLabelTest.java inadvertently triggers clicks on items pinned to the taskbar
Reviewed-by: abhiscxk, aivanov
Backport-of: b7fcd0b2351cee8d3d18abaf0bf5905d20c9d46c
-------------
PR: https://git.openjdk.org/jdk/pull/26128
More information about the client-libs-dev
mailing list