RFR: 8282857: Create a regression test for JDK-4702690 [v4]

Srinivas Mandalika smandalika at openjdk.java.net
Tue May 17 12:48:49 UTC 2022


On Tue, 17 May 2022 12:33:43 GMT, Srinivas Mandalika <smandalika at openjdk.org> wrote:

>> Create a regression test for [JDK-4702690](https://bugs.openjdk.java.net/browse/JDK-4702690)
>> 
>> In many cases in Swing it is possible to easily programatically determine that a JScrollBar (or two) is scrolling some JPanel (the cannonical case is a JScrollPane).
>> In these cases, when accessibility support is instantiated (e.g. the AccessibleJScrollBar is created), a Controller_For and Controled_By relation should be instantiated between the AccessibleJScrollBar and the AccessibleJPanel that the JScrollBar and JPanel are associated with.
>> 
>> This allows various assistive technologies, especially voice-recognition technologies, to better interact with scrolling items.
>> 
>> The test put up validates that the target object for these properties(CONTROLLED_BY, CONTROLLED_FOR) are set appropriately for JScrollPane and JScrollBar.
>> This review is for migrating tests from a closed test suite to open.
>
> Srinivas Mandalika has updated the pull request incrementally with two additional commits since the last revision:
> 
>  - Review comments fixed: Added Test without 'bug id' folder structure
>  - Review comments fixed: Removed file under the 'bug id' folder structure

As suggested, bug id folder structure is removed and test is under pre-existing accessibility directory.
Test code has not changed but it has been run mach5 after the change.(Link provided in the JBS Issue)  

Can someone take a look and this be marked as approved/sponsored after the above changes?

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

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



More information about the client-libs-dev mailing list