Skip to content

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

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions