Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8284767

Create an automated test for JDK-4422535

XMLWordPrintable

        Create an automated test for 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.

              smandalika Srinivas Mandalika
              smandalika Srinivas Mandalika
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated:
                Resolved: