RFR: 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 09:39:02 UTC 2025
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.
-------------
Commit messages:
- 8359889: java/awt/MenuItem/SetLabelTest.java inadvertently triggers clicks on items pinned to the taskbar
Changes: https://git.openjdk.org/jdk/pull/25868/files
Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=25868&range=00
Issue: https://bugs.openjdk.org/browse/JDK-8359889
Stats: 1 line in 1 file changed: 0 ins; 0 del; 1 mod
Patch: https://git.openjdk.org/jdk/pull/25868.diff
Fetch: git fetch https://git.openjdk.org/jdk.git pull/25868/head:pull/25868
PR: https://git.openjdk.org/jdk/pull/25868
More information about the client-libs-dev
mailing list