Integrated: 8284767: Create an automated test for JDK-4422535
Srinivas Mandalika
smandalika at openjdk.org
Mon Jul 18 17:21:12 UTC 2022
On Wed, 13 Apr 2022 11:02:05 GMT, Srinivas Mandalika <smandalika at openjdk.org> wrote:
> Create an automated test for [JDK-4422535](https://bugs.openjdk.java.net/browse/JDK-4422535)
> AccessibleValue implementation only accept Integers
> The AccessibleValue implementations of the following components:
>
> java.awt.Scrollbar
> javax.swing.AbstractButton
> javax.swing.JInternalFrame
> javax.swing.JSplitPane
> javax.swing.JScrollBar
> javax.swing.JProgressBar
> javax.swing.JSlider
>
> require the argument to setCurrentAccessibleValue(Number) to be an Integer, else they completely ignore it - it returns a false indicating that the value has not been set by the return value, but they cannot know the reason for that).
>
> The test verifies that for each of the above components, the AccessibleValue is set when it is set to a Number (Float, Double, long etc) and not just for an Integer.
>
> his 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: 5ae43209
Author: Srinivas Mandalika <smandalika at openjdk.org>
Committer: Phil Race <prr at openjdk.org>
URL: https://git.openjdk.org/jdk/commit/5ae4320921b15dcc198d0c71416cd46e5b5c2f85
Stats: 76 lines in 1 file changed: 76 ins; 0 del; 0 mod
8284767: Create an automated test for JDK-4422535
Reviewed-by: prr, achung
-------------
PR: https://git.openjdk.org/jdk/pull/8220
More information about the client-libs-dev
mailing list