RFR: 8090158: Wrong implementation of adjustValue in scrollBars
Hadzic Samir
shadzic at openjdk.java.net
Tue Sep 21 08:53:07 UTC 2021
On Tue, 20 Jul 2021 09:12:05 GMT, Hadzic Samir <shadzic at openjdk.org> wrote:
> JBS bug: [JDK-8090158](https://bugs.openjdk.java.net/browse/JDK-8090158)
>
> The javadoc of the ScrollBar#adjustValue specifically says that it will adjust the value based on the block increment value. Therefore, there is no reason to stop at the given value when reaching an end.
Sorry for the delay, I have missed the notifications somehow.
I've noticed that the order of the `assertEquals` are also in the wrong order to the other tests of this file.
Should I correct them also or leave it like that to avoid a large diff?
-------------
PR: https://git.openjdk.java.net/jfx/pull/582
More information about the openjfx-dev
mailing list