Skip to content

Make PrimitiveSerialDescriptor.hashCode() stable #2135

@vgv

Description

@vgv

Describe the bug
PrimitiveSerialDescriptor class doesn't have custom hashCode() implemented, so, it can change between different JVMs vendors, versions, servers, between different app run etc.
Plus, we can change hashCode generation strategy (-XX:hashCode JVM option) – this will change hashCode value too.

I think it is good idea to add stable hashCode() implementation to PrimitiveSerialDescriptor

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions