Proposed IntegerSpinner buggy behavior correction - JDK-8242553

Ajit Ghaisas ajit.ghaisas at oracle.com
Tue Apr 14 14:04:16 UTC 2020


Hi,

   Once I fix JDK-8193286, I would like to take up JDK-8242553 (IntegerSpinner does not wrap around values correctly if amountToStepBy is larger than total numbers between Max and Min)

   The current implementation is not as per what is documented.
   Refer : https://openjfx.io/javadoc/14/javafx.controls/javafx/scene/control/SpinnerValueFactory.html#wrapAroundProperty

   I propose to fix the current buggy behavior of IntegerSpinner.
   Although it is a corner case, I would like to know if anybody relies on this buggy behavior?

Regards,
Ajit


More information about the openjfx-dev mailing list