Skip to content

Conversation

opensearch-trigger-bot[bot]
Copy link
Contributor

Backport c1ae512 from #1643.

jackson 2.x still supports java 7 and thus does not automatically
support java 8 classes. this will change with jackson 3.x (see e.g.
this [PR adding JSR310 date support] to 3.x).

PR #251 added documentation on how a custom `ObjectMapper` can be
registered - but there's no reason why we can't just enable
auto-detection centrally. the docs mention that performance should be
considered, but this is IMHO not relevant here since we only construct
it once and then keep the same `ObjectMapper` (which in turn the docs
mention as best practices).

Signed-off-by: Ralph Ursprung <[email protected]>

[PR adding JSR310 date support]: FasterXML/jackson-databind#5032

(cherry picked from commit c1ae512)
Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
@Xtansia Xtansia merged commit f2c7d39 into 3.x Jun 24, 2025
66 of 68 checks passed
@Xtansia Xtansia deleted the backport/backport-1643-to-3.x branch June 24, 2025 23:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant