On Tue, 28 Sep 2021 00:07:16 GMT, Joe Darcy <da...@openjdk.org> wrote:
> Augmentations to javac's Xlint:serial checking are out for review (#5709) and > various javac and javadoc implementation 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. > > Sending this change out for review separately in an effort to de-bulk the > review needed for the new checks themselves. This pull request has now been integrated. Changeset: 97385d4f Author: Joe Darcy <da...@openjdk.org> URL: https://git.openjdk.java.net/jdk/commit/97385d4f166fbd63a7c91d2ee28b5ed75cb02518 Stats: 22 lines in 12 files changed: 12 ins; 0 del; 10 mod 8274405: Suppress warnings on non-serializable non-transient instance fields in javac and javadoc Reviewed-by: prappo, jjg ------------- PR: https://git.openjdk.java.net/jdk/pull/5728