Integrated: 8274415: Suppress warnings on non-serializable non-transient instance fields in java.xml
Joe Darcy
darcy at openjdk.java.net
Tue Sep 28 21:05:25 UTC 2021
On Tue, 28 Sep 2021 07:07:37 GMT, Joe Darcy <darcy at openjdk.org> wrote:
> Augmentations to javac's Xlint:serial checking are out for review (#5709) and the java.xml module 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 years before pushing.
This pull request has now been integrated.
Changeset: 6a477bda
Author: Joe Darcy <darcy at openjdk.org>
URL: https://git.openjdk.java.net/jdk/commit/6a477bda856d051904551995539e6c6bab1fa7da
Stats: 63 lines in 27 files changed: 45 ins; 0 del; 18 mod
8274415: Suppress warnings on non-serializable non-transient instance fields in java.xml
Reviewed-by: joehw
-------------
PR: https://git.openjdk.java.net/jdk/pull/5730
More information about the core-libs-dev
mailing list