Integrated: 8242553: IntegerSpinner and DoubleSpinner do not wrap around values correctly in some cases

drmarmac duke at openjdk.org
Thu Apr 18 07:29:09 UTC 2024


On Sun, 24 Mar 2024 15:11:16 GMT, drmarmac <duke at openjdk.org> wrote:

> This PR should fix the issue and cover all relevant cases with new tests.
> 
> Note: This involves a small behavior change, as can be seen in dblSpinner_testWrapAround_decrement_twoSteps() in SpinnerTest.java:749. With this change the wraparound behavior is similar to that of the IntegerSpinner.

This pull request has now been integrated.

Changeset: d03b0028
Author:    drmarmac <6900949+drmarmac at users.noreply.github.com>
Committer: Karthik P K <kpk at openjdk.org>
URL:       https://git.openjdk.org/jfx/commit/d03b0028d1ebefa00df59a20d6f9a4dd9ac5f033
Stats:     218 lines in 4 files changed: 182 ins; 11 del; 25 mod

8242553: IntegerSpinner and DoubleSpinner do not wrap around values correctly in some cases
8193286: IntegerSpinnerFactory does not wrap value correctly

Reviewed-by: angorya, kpk

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

PR: https://git.openjdk.org/jfx/pull/1431


More information about the openjfx-dev mailing list