RFR: 8296275: Write a test to verify setAccelerator method of JMenuItem.

Manukumar V S mvs at openjdk.org
Tue Nov 8 11:05:55 UTC 2022


On Tue, 8 Nov 2022 08:57:54 GMT, Naveen Narayanan <duke at openjdk.org> wrote:

> Colocate JMenuItemSetAcceleratorTest to a regression test.
> 
> This testcase will
> 1) Verify setAccelerator method of JMenuitem.
> 2) Check that the selection of a menu item in the menu bar will generate action by a key combination of META+M.
> 
> Testing:
> Tested using Mach5(20 times per platform) in Mac OS, Linux and Windows and got all pass.

The JDK bug associated with an openjdk PR should not be a confidential one(I have changed it now).

test/jdk/java/awt/Desktop/JMenuItemSetAcceleratorTest.java line 1:

> 1: 

I can't see the copyright header

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

PR: https://git.openjdk.org/jdk/pull/11035



More information about the client-libs-dev mailing list