Integrated: 8359889: java/awt/MenuItem/SetLabelTest.java inadvertently triggers clicks on items pinned to the taskbar

Manukumar V S mvs at openjdk.org
Wed Jun 18 16:44:33 UTC 2025


On Wed, 18 Jun 2025 09:33:50 GMT, Manukumar V S <mvs at openjdk.org> wrote:

> 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).
> 
> Testing:
> Tested manually and using Mach5(20 times in 3 machines) and got all PASS and never triggered unwanted clicks on taskbar.

This pull request has now been integrated.

Changeset: b7fcd0b2
Author:    Manukumar V S <mvs at openjdk.org>
Committer: Alexey Ivanov <aivanov at openjdk.org>
URL:       https://git.openjdk.org/jdk/commit/b7fcd0b2351cee8d3d18abaf0bf5905d20c9d46c
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: aivanov, kizune

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

PR: https://git.openjdk.org/jdk/pull/25868


More information about the client-libs-dev mailing list