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

Alexey Ivanov aivanov at openjdk.org
Mon Jul 7 12:50:38 UTC 2025


On Fri, 4 Jul 2025 09:33:43 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 PR isn't necessary because you're integrating this same fix into 25 GA by https://github.com/openjdk/jdk/pull/24845

All the fixes that are available in `jdk25` branch will be automatically synced to `jdk25u` repo.

**Do not integrate this PR!**

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

PR Comment: https://git.openjdk.org/jdk25u/pull/12#issuecomment-3044930263


More information about the jdk-updates-dev mailing list