Skip to content

Serializable classes should not share serialVersionUID #2100

@jgrandja

Description

@jgrandja

SpringAuthorizationServerVersion.SERIAL_VERSION_UID is used as the serialVersionUID for all Serializable classes, which prevents deserialization of objects between minor versions since SpringAuthorizationServerVersion.SERIAL_VERSION_UID is updated in each minor version.

The solution to eliminate this deserialization limitation is to ensure each Serializable class has it's own unique serialVersionUID.

Metadata

Metadata

Assignees

Labels

type: breaks-passivityA change that breaks passivity with the previous release

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions