On Fri, 6 Mar 2026 17:41:47 GMT, Roger Riggs <[email protected]> wrote:

>> not sure I get your question. Why should they?
>
>> Do value classes need any distinct serialVersionUID handling?
> 
> Value classes have the same requirements (non-requirements) as identity 
> classes.
> They are used to confirm the match between the class and the serialized 
> stream contents.
> Migrated value classes especially need the value class and identity class to 
> have the same SVUID.

> not sure I get your question. Why should they?

I don't know if they do; that's why I was asking :-)

I think my concerns would be addressed by a "here's how serial value classes 
work."

-------------

PR Review Comment: 
https://git.openjdk.org/valhalla/pull/2187#discussion_r2897359758

Reply via email to