On Mon, 19 Sep 2022 18:50:46 GMT, Roger Riggs <rri...@openjdk.org> wrote:

> As mentioned earlier in the comments... This is a completely compatible 
> change. Removing a field is well specified as a compatible change. From old 
> version to new version the value in the stream is discarded. From a new 
> version to the old version, the value in the stream is missing so the field 
> is initialized to its default value (false for boolean). There's no reason to 
> change the serialVersionUID. Changing it would be an incompatible change and 
> cause all kinds of other problems.
> 
> In the current case, since the value of the field is false, it will be hard 
> to observe any change in behavior.

Thanks for the comments, just want to be sure the old version handles the 
missing field, that's all.

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

PR: https://git.openjdk.org/jdk/pull/10206

Reply via email to