<i18n dev> RFR: 8274396: Suppress more warnings on non-serializable non-transient intance fields in client libs [v2]

Joe Darcy darcy at openjdk.java.net
Mon Sep 27 22:48:24 UTC 2021


> 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.

Joe Darcy has updated the pull request incrementally with one additional commit since the last revision:

  Add comments requested in code review.

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

Changes:
  - all: https://git.openjdk.java.net/jdk/pull/5723/files
  - new: https://git.openjdk.java.net/jdk/pull/5723/files/ab72612d..2977d859

Webrevs:
 - full: https://webrevs.openjdk.java.net/?repo=jdk&pr=5723&range=01
 - incr: https://webrevs.openjdk.java.net/?repo=jdk&pr=5723&range=00-01

  Stats: 7 lines in 5 files changed: 0 ins; 0 del; 7 mod
  Patch: https://git.openjdk.java.net/jdk/pull/5723.diff
  Fetch: git fetch https://git.openjdk.java.net/jdk pull/5723/head:pull/5723

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


More information about the i18n-dev mailing list