Integrated: 8274393: Suppress more warnings on non-serializable non-transient instance fields in security libs

Joe Darcy darcy at openjdk.java.net
Thu Sep 30 17:43:14 UTC 2021


On Mon, 27 Sep 2021 19:24:39 GMT, Joe Darcy <darcy at openjdk.org> wrote:

> Follow-up change to JDK-8231262, augmentations to javac's Xlint:serial checking are out for review (#5709) and various security 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.

This pull request has now been integrated.

Changeset: 73264811
Author:    Joe Darcy <darcy at openjdk.org>
URL:       https://git.openjdk.java.net/jdk/commit/7326481143c1321700cbf2caa9e068c5077e22c4
Stats:     41 lines in 12 files changed: 38 ins; 0 del; 3 mod

8274393: Suppress more warnings on non-serializable non-transient instance fields in security libs

Reviewed-by: weijun

-------------

PR: https://git.openjdk.java.net/jdk/pull/5720



More information about the security-dev mailing list