JDK 14 RFR of JDK-8202385: Annotation to mark serial-related fields and methods

Sergey Bylokhov Sergey.Bylokhov at oracle.com
Tue Sep 10 18:45:55 UTC 2019

Hi, Joe.

Can we as part of this effort improve validation of javadocs tags: @serial, @serialField, etc.
I am sure that we use these tags here and there incorrectly.

BTW probably we should consider all serialized fields/methods/etc, as kind
of public API, and validates it by doclint accordingly.

On 7/9/19 4:14 pm, Joe Darcy wrote:
> Hello,
> Returning to some old work [1], please review the addition of a java.io.Serial annotation type for JDK 14 to mark serial-related fields and methods:
>      webrev: http://cr.openjdk.java.net/~darcy/8202385.3/
>      CSR: https://bugs.openjdk.java.net/browse/JDK-8217698
> Thanks,
> -Joe
> [1] Previous review threads:
> http://mail.openjdk.java.net/pipermail/core-libs-dev/2018-May/053055.html
> http://mail.openjdk.java.net/pipermail/core-libs-dev/2018-August/054801.html

Best regards, Sergey.

More information about the core-libs-dev mailing list