JDK 14 RFR of JDK-8202385: Annotation to mark serial-related fields and methods
Jonathan Gibbons
jonathan.gibbons at oracle.com
Tue Sep 10 20:11:08 UTC 2019
Sergey,
While it might be reasonable to improve doclint support with better
checks for serialization,
I think that is better done as a separate task, and not conflated with
Joe's work here.
-- Jon
On 09/10/2019 11:45 AM, Sergey Bylokhov wrote:
> 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
>>
>>
>
>
More information about the core-libs-dev
mailing list