This PR should fix the issue and cover all relevant cases with new tests. -------------
Commit messages: - Fixed wrap-around behavior for SpinnerValueFactory - Add failing tests Changes: https://git.openjdk.org/jfx/pull/1431/files Webrev: https://webrevs.openjdk.org/?repo=jfx&pr=1431&range=00 Issue: https://bugs.openjdk.org/browse/JDK-8242553 Stats: 221 lines in 4 files changed: 184 ins; 12 del; 25 mod Patch: https://git.openjdk.org/jfx/pull/1431.diff Fetch: git fetch https://git.openjdk.org/jfx.git pull/1431/head:pull/1431 PR: https://git.openjdk.org/jfx/pull/1431