Skip to content

Mention Java serialization compatibility? #1202

@henrikbarium

Description

@henrikbarium

Reading through Binary Compatibility of Scala Releases, it remains unclear whether there is any promise whether serialVersionUID will remain stable between Scala releases.

Specifically, if running and/or compiling an application on two different Scala versions (with same major version), will a Scala (case) class get the same serialVersionUID in both cases?

I do not know the answer to that question (though I know that it did change between Scala 2.12.6 and 2.12.7), but it would be helpful to know.

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