Skip to content

Should not fail on trying to serialize java.time.DateTimeException #4718

@cowtowncoder

Description

@cowtowncoder

Describe your Issue

(note: offshoot of FasterXML/jackson-modules-java8#319)

Looks like checks to support detection of "missing Java 8 date/time ser/deser support" gives false alert on DateTimeException. And since it should be serializable just fine (as opposed to value types where POJO handling would be wrong), we should relax check in BeanUtil to not block it.

But instead of allow-listing one name, I think we should just skip all Throwable types.

Metadata

Metadata

Assignees

No one assigned

    Labels

    2.17Issues planned at earliest for 2.17

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions