On Thu, 17 Feb 2022 11:19:59 GMT, Jayathirth D V <j...@openjdk.org> wrote:
>> I couldn't find any bug associated with this, that's why @bug label was not >> given. I had created a test for >> [JDK-4659800](https://bugs.openjdk.java.net/browse/JDK-4659800) -> >> https://git.openjdk.java.net/jdk/pull/7296 which verifies the action of >> 'Enter' key on focused button, but it was applicable for Windows >> platform(Windows and Windows Classic LnFs) only. So just thought of creating >> a test which is applicable for all platforms and in all LnFs. This doc >> https://docs.oracle.com/en/java/javase/17/docs/api/java.desktop/java/awt/event/ActionEvent.html >> says that "To invoke an ActionEvent on a Button using the keyboard, use the >> Space bar", so I created a general test which checks this fact as I couldn't >> find any existing test related to this use case. >> This is well tested using mach5 and the link is attached in the bug. > > @bug is informational tag and it is not necessary to have product bug to map > it. It will help in tracking why this test case was added(especially now when > we no more use JBS bug id in test case names). Added @bug label. ------------- PR: https://git.openjdk.java.net/jdk/pull/7460