On Fri, 15 Dec 2023 17:34:53 GMT, Raffaello Giulietti <rgiulie...@openjdk.org> wrote:
> Adds serialization misdeclaration events to JFR. A serialization misdeclaration on one of the following fields or methods means that they are not declared according to the Java Object Serialization Specification (JOSS) or in the Java SE specification. Depending on the exact circumstances, a misdeclared member can be _ineffective_ for serialization, or can still be effective but does not adhere to the conventions stated in the specs. serialVersionUID serialPersistentFields writeObject() readObject() readObjectNoData() writeReplace() readResolve() This PR adds JFR events to detect such misdeclarations at runtime, when a serializable class is about to be used for serialization purposes. ------------- PR Comment: https://git.openjdk.org/jdk/pull/17129#issuecomment-1858247455