Integrated: 8274392: Suppress more warnings on non-serializable non-transient instance fields in java.sql.rowset

Joe Darcy darcy at openjdk.java.net
Mon Sep 27 20:01:05 UTC 2021


On Mon, 27 Sep 2021 18:51:37 GMT, Joe Darcy <darcy at openjdk.org> wrote:

> Follow-up change to JDK-8231442, augmentations to javac's Xlint:serial checking are out for review (#5709) and java.sql.rowset 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: 5b660f33
Author:    Joe Darcy <darcy at openjdk.org>
URL:       https://git.openjdk.java.net/jdk/commit/5b660f3347917201902d501f371530a97c768977
Stats:     18 lines in 7 files changed: 13 ins; 0 del; 5 mod

8274392: Suppress more warnings on non-serializable non-transient instance fields in java.sql.rowset

Reviewed-by: bpb, lancea

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

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


More information about the core-libs-dev mailing list