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

Andy Goryachev angorya at openjdk.org
Wed Nov 15 18:54:57 UTC 2023


On Wed, 15 Nov 2023 18:52:17 GMT, brunesto <duke at openjdk.org> wrote:

>> The fix prevents the DatePicker from losing focus if the date is not parsable.
>
> brunesto has updated the pull request incrementally with one additional commit since the last revision:
> 
>   DatePicker on focus lost catches all exceptions around commit

modules/javafx.controls/src/main/java/javafx/scene/control/DatePicker.java line 32:

> 30: import java.time.LocalDate;
> 31: import java.time.DateTimeException;
> 32: import java.time.format.DateTimeParseException;

is this import still needed?

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

PR Review Comment: https://git.openjdk.org/jfx/pull/1274#discussion_r1394646376


More information about the openjfx-dev mailing list