[jdk25] RFR: 8359889: java/awt/MenuItem/SetLabelTest.java inadvertently triggers clicks on items pinned to the taskbar

duke duke at openjdk.org
Mon Jul 7 06:06:38 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).

@manukumarvs 
Your change (at version 61a51569611f3285519ea1036142f114b1d3f1a6) is now ready to be sponsored by a Committer.

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

PR Comment: https://git.openjdk.org/jdk/pull/26128#issuecomment-3043582134


More information about the client-libs-dev mailing list