RFR: 8303478: DatePicker throws uncatchable exception on tab out from garbled text [v4]

Andy Goryachev angorya at openjdk.org
Wed Nov 15 18:45:59 UTC 2023


On Wed, 15 Nov 2023 18:15:51 GMT, Marius Hanl <mhanl at openjdk.org> wrote:

> I just wonder if we want to catch `Exception` here as well, as it was done in the old code.
> The contract then would be: If a converter throws any exception, we cancel the edit.

There might be some discussion on that, but yes, I'd rather catch(Exception) because there might unchecked RuntimeExceptions...

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

PR Comment: https://git.openjdk.org/jfx/pull/1274#issuecomment-1813072001


More information about the openjfx-dev mailing list