Skip to content

Ensure proper null (as empty) handling for AtomicReference wrt serialization inclusion #740

@cowtowncoder

Description

@cowtowncoder

As per proposal on dev mailing list, I think it makes sense to make all referential types, like:

  • AtomicReference
  • JDK Optional
  • Guava Optional

work so that "absent" case (where non-null reference value refers to null or "absent") will match "empty" and "default" inclusion criteria, but NOT "null", for purposes of serialization filtering.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions