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

Srinivas Mandalika smandalika at openjdk.java.net
Fri Mar 11 15:46:32 UTC 2022


> 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 one additional commit since the last revision:

  Added @bug keyword

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

Changes:
  - all: https://git.openjdk.java.net/jdk/pull/7753/files
  - new: https://git.openjdk.java.net/jdk/pull/7753/files/cda8eccc..f712f33f

Webrevs:
 - full: https://webrevs.openjdk.java.net/?repo=jdk&pr=7753&range=01
 - incr: https://webrevs.openjdk.java.net/?repo=jdk&pr=7753&range=00-01

  Stats: 1 line in 1 file changed: 1 ins; 0 del; 0 mod
  Patch: https://git.openjdk.java.net/jdk/pull/7753.diff
  Fetch: git fetch https://git.openjdk.java.net/jdk pull/7753/head:pull/7753

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



More information about the client-libs-dev mailing list