RFR: 8274415: Suppress warnings on non-serializable non-transient instance fields in java.xml [v2]

Joe Darcy darcy at openjdk.java.net
Tue Sep 28 21:04:25 UTC 2021


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

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

  Update copyrights.

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

Changes:
  - all: https://git.openjdk.java.net/jdk/pull/5730/files
  - new: https://git.openjdk.java.net/jdk/pull/5730/files/7f31bfdc..5af64c98

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

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

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


More information about the core-libs-dev mailing list