RFR: JDK-8282777: Create a Regression test for JDK-4515031 [v4]

Alexander Zuev kizune at openjdk.java.net
Mon May 23 17:14:57 UTC 2022


On Wed, 18 May 2022 10:09:30 GMT, Srinivas Mandalika <smandalika at openjdk.org> wrote:

>> Create a Regression test for [JDK-4515031](https://bugs.openjdk.java.net/browse/JDK-4515031)
>> 
>> The issue indicates the need for a a getAccessibleDescription being implemented for the JFileChooser.
>> The test added verifies the same.
>> This review is for migrating tests from a closed test suite to open.
>
> Srinivas Mandalika has updated the pull request incrementally with one additional commit since the last revision:
> 
>   Review Comments Fixed: Fixed File location path.

test/jdk/javax/accessibility/JFileChooserAccessibleDescriptionTest.java line 89:

> 87:             robot.keyPress(KeyEvent.VK_C);
> 88:             robot.keyRelease(KeyEvent.VK_C);
> 89:             robot.keyRelease(KeyEvent.VK_ALT);

What is the purpose of the pressing Alt-C here? Looks like on Mac OS X it does nothing and when i comment them out the test runs in the same way as with it.

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

PR: https://git.openjdk.java.net/jdk/pull/7738



More information about the client-libs-dev mailing list