Integrated: 8274396: Suppress more warnings on non-serializable non-transient instance fields in client libs
Joe Darcy
darcy at openjdk.java.net
Tue Sep 28 21:52:34 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.
This pull request has now been integrated.
Changeset: d8a278f3
Author: Joe Darcy <darcy at openjdk.org>
URL: https://git.openjdk.java.net/jdk/commit/d8a278f3948e9a5c881e64cce0a588e31246a4b5
Stats: 7 lines in 5 files changed: 7 ins; 0 del; 0 mod
8274396: Suppress more warnings on non-serializable non-transient instance fields in client libs
Reviewed-by: bpb, naoto, serb, iris
-------------
PR: https://git.openjdk.java.net/jdk/pull/5723
More information about the client-libs-dev
mailing list