On Fri, 8 Apr 2022 09:42:51 GMT, Srinivas Mandalika <[email protected]> 
wrote:

> 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.

This pull request has now been integrated.

Changeset: b9de0a75
Author:    Srinivas Mandalika <[email protected]>
Committer: Phil Race <[email protected]>
URL:       
https://git.openjdk.org/jdk/commit/b9de0a7556f7be2c6afc6bb41bfa0339b639ff88
Stats:     71 lines in 1 file changed: 71 ins; 0 del; 0 mod

8284524: Create an automated test for JDK-4422362

Reviewed-by: prr

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

PR: https://git.openjdk.org/jdk/pull/8158

Reply via email to