Integrated: 8274398: Suppress more warnings on non-serializable non-transient instance fields in management libs
Joe Darcy
darcy at openjdk.java.net
Thu Sep 30 17:03:36 UTC 2021
On Mon, 27 Sep 2021 21:49:06 GMT, Joe Darcy <darcy at openjdk.org> wrote:
> Follow-up change to JDK-8232442, augmentations to javac's Xlint:serial checking are out for review (#5709) and various management 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 copyright years before a push.
This pull request has now been integrated.
Changeset: 8215b2eb
Author: Joe Darcy <darcy at openjdk.org>
URL: https://git.openjdk.java.net/jdk/commit/8215b2eb61bd89c4041420e1c5c673603d6b2119
Stats: 17 lines in 8 files changed: 12 ins; 0 del; 5 mod
8274398: Suppress more warnings on non-serializable non-transient instance fields in management libs
Reviewed-by: sspitsyn
-------------
PR: https://git.openjdk.java.net/jdk/pull/5726
More information about the serviceability-dev
mailing list