On Tue, 5 Oct 2021 18:55:09 GMT, Joe Darcy <da...@openjdk.org> wrote:

> Augmentations to javac's Xlint:serial checking are out for review (#5709) and 
> the sun.net classes in this PR 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.
> 
> The changes in the PR are consistent with similar changes made in JDK 
> libraries under the umbrella issue JDK-8231641.

This pull request has now been integrated.

Changeset: d34ec6cc
Author:    Joe Darcy <da...@openjdk.org>
URL:       
https://git.openjdk.java.net/jdk/commit/d34ec6ccfc27d9401acce0e03595b910764fbfaf
Stats:     3 lines in 2 files changed: 3 ins; 0 del; 0 mod

8274793: Suppress warnings on non-serializable non-transient instance fields in 
sun.net

Reviewed-by: alanb

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

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

Reply via email to