[jdk25u] RFR: 8359889: java/awt/MenuItem/SetLabelTest.java inadvertently triggers clicks on items pinned to the taskbar
Manukumar V S
mvs at openjdk.org
Fri Jul 4 09:38:21 UTC 2025
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).
-------------
Commit messages:
- Backport b7fcd0b2351cee8d3d18abaf0bf5905d20c9d46c
Changes: https://git.openjdk.org/jdk25u/pull/12/files
Webrev: https://webrevs.openjdk.org/?repo=jdk25u&pr=12&range=00
Issue: https://bugs.openjdk.org/browse/JDK-8359889
Stats: 2 lines in 1 file changed: 0 ins; 0 del; 2 mod
Patch: https://git.openjdk.org/jdk25u/pull/12.diff
Fetch: git fetch https://git.openjdk.org/jdk25u.git pull/12/head:pull/12
PR: https://git.openjdk.org/jdk25u/pull/12
More information about the jdk-updates-dev
mailing list