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.

Oh I see, thanks @RogerRiggs for your answer. I didn't know that specific about 
migrated value classes. I will add a comment

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

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

Reply via email to