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

Sergey Bylokhov serb at openjdk.java.net
Tue Mar 29 22:48:21 UTC 2022


On Fri, 11 Mar 2022 15:36:24 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:
> 
>   Added @bug keyword

test/jdk/javax/accessibility/4515031/JFileChooserAccessibleDescriptionTest.java line 72:

> 70:             robot.setAutoWaitForIdle(true);
> 71: 
> 72:             robot.mouseMove(jButton.getLocationOnScreen().x + jButton.getSize().width / 2,

The jButton is a Swing component, it should be accessed on EDT.
Please split the long lines, 80<= chars.

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

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



More information about the client-libs-dev mailing list