Skip to content

Serialization of static modules does not need to contain any data #10412

Closed
@lrytz

Description

@lrytz

Static modules get a readResolve method that returns the singleton instance, so the de-serialized object is not used. So there's no need to serialize all the fields. See also #9375.

Metadata

Metadata

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions