RFR: JDK-8325798: Spinner throws uncatchable exception on tab out from garbled text

Andy Goryachev angorya at openjdk.org
Thu Feb 15 16:06:01 UTC 2024


On Thu, 15 Feb 2024 09:54:18 GMT, Marius Hanl <mhanl at openjdk.org> wrote:

>> modules/javafx.controls/src/test/java/test/javafx/scene/control/SpinnerTest.java line 1609:
>> 
>>> 1607:         spinner.getEditor().setText("2abc");
>>> 1608: 
>>> 1609:         // loosing focus triggers cancelEdit() because the text cannot be parsed
>> 
>> typo: losing
>
> Thanks, I didn't know until today that `loose` and `lose` are actually different words in a way.🙂
> I think I will still integrate it to avoid a new review cycle and given that I copied this test.
> But good to know for the future!

no worries, I'll fix it later in [JDK-8296810](https://bugs.openjdk.org/browse/JDK-8296810)

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

PR Review Comment: https://git.openjdk.org/jfx/pull/1365#discussion_r1491249465


More information about the openjfx-dev mailing list