RFR: 8284524: Create an automated test for JDK-4422362 [v2]

Srinivas Mandalika smandalika at openjdk.java.net
Tue Apr 12 09:19:33 UTC 2022


> Create an automated test for [JDK-4422362](https://bugs.openjdk.java.net/browse/JDK-4422362)
> 
> The BoundedRangeModel components (JScrollBar, JSlider, JProgressBar) return
> BoundedRangeModel.getMaximum() from getMaximumAccessibleValue() in their
> AccessibleValue implementation.
> The real maximum value (due to the constraints on BoundedRangeModel) is
> model.getMaximum() - model.getExtent().
> 
> The test verifies that the above is adhered to as expected.
> 
> This review is for migrating tests from a closed test suite to open.
> 
> Testing:
> The test ran successfully on Mach5 with multiple runs (30) on windows-x64, linux-x64 and macos-x64.

Srinivas Mandalika has updated the pull request incrementally with one additional commit since the last revision:

  8284524: Create an automated test for JDK-4422362

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

Changes:
  - all: https://git.openjdk.java.net/jdk/pull/8158/files
  - new: https://git.openjdk.java.net/jdk/pull/8158/files/5cc47305..0dd792c1

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

  Stats: 29 lines in 1 file changed: 0 ins; 15 del; 14 mod
  Patch: https://git.openjdk.java.net/jdk/pull/8158.diff
  Fetch: git fetch https://git.openjdk.java.net/jdk pull/8158/head:pull/8158

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



More information about the client-libs-dev mailing list