<i18n dev> RFR: 8274396: Suppress more warnings on non-serializable non-transient intance fields in client libs
serb at openjdk.java.net
Mon Sep 27 21:43:01 UTC 2021
On Mon, 27 Sep 2021 20:21:43 GMT, Joe Darcy <darcy at openjdk.org> wrote:
> Follow-up changes to JDK-8231334. , augmentations to javac's Xlint:serial checking are out for review (#5709) and various client libraries would need some changes to pass under the expanded checks.
> The changes are to suppress warnings where non-transient fields in serializable types are not declared with a type statically known to be serializable. That isn't necessarily a correctness issues, but it does merit further scrutiny.
> I'll run a script to update the copyright year before pushing.
Can we add comments to SuppressWarnings on why it was added? Previously we use this text
> // Not statically typed as Serializable
More information about the i18n-dev