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

duke duke at openjdk.org
Sat Jul 5 03:08:45 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).

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

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

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


More information about the jdk-updates-dev mailing list