On Wed, 13 Oct 2021 04:49:22 GMT, Joe Darcy <da...@openjdk.org> wrote:
> After a refinement to the checks under development in > https://github.com/openjdk/jdk/pull/5709, the new checks examine array types > of serial fields and warn if the underlying component type is not > serializable. Per the JLS, all array types are serializable, but if the base > component is not serializable, the serialization process can throw an > exception. > > From "Java Object Serialization Specification: 2 - Object Output Classes": > > "If the object is an array, writeObject is called recursively to write the > ObjectStreamClass of the array. The handle for the array is assigned. It is > followed by the length of the array. Each element of the array is then > written to the stream, after which writeObject returns." Marked as reviewed by joehw (Reviewer). I understand you'd update the header before push. Pls note that there's a "@LastModified" field that would need to be updated as well. Thanks. ------------- PR: https://git.openjdk.java.net/jdk/pull/5924