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

duke duke at openjdk.org
Wed Jun 18 15:41:27 UTC 2025


On Wed, 18 Jun 2025 15:38:13 GMT, Manukumar V S <mvs at openjdk.org> wrote:

>> 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.
>
> Manukumar V S has updated the pull request incrementally with one additional commit since the last revision:
> 
>   Copyright changes

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

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

PR Comment: https://git.openjdk.org/jdk/pull/25868#issuecomment-2984742046


More information about the client-libs-dev mailing list