-
Notifications
You must be signed in to change notification settings - Fork 38.8k
Closed
Labels
in: coreIssues in core modules (aop, beans, core, context, expression)Issues in core modules (aop, beans, core, context, expression)type: enhancementA general enhancementA general enhancement
Milestone
Description
Overview
For #35156, we decided to register runtime hints for the java.sql.Timestamp.from(Instant) static factory method, since we want to avoid a direct dependency on optional java.sql types.
However, we can provide explicit support for java.util.Date.from(Instant) and the toInstant() instance methods in java.util.Date and its subtypes.
To achieve that, we should introduce an InstantToDateConverter and a DateToInstantConverter and register them automatically in DefaultConversionService.
Related Issues
Metadata
Metadata
Assignees
Labels
in: coreIssues in core modules (aop, beans, core, context, expression)Issues in core modules (aop, beans, core, context, expression)type: enhancementA general enhancementA general enhancement