RFR: JDK-8286348: incorrect use of `@serial`

Jonathan Gibbons jjg at openjdk.java.net
Sat May 7 01:10:14 UTC 2022


Please review a fix to remove incorrect use of the `@serial` tag from the doc comments for methods such as `readObject` and `readResolve`. The tag has no effect in this position other than to trigger warnings from the standard doclet when running javadoc.

There is no change to the generated documentation as a result off this change. In particular, there is no change to the API docs for any of the modified files, or to the overall top-level serialized-form.html file.

Although most of the affected files are in the `java.desktop` module, there is one outlier, in `java.security.Provider`.

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

Commit messages:
 - JDK-8286348: incorrect use of `@serial`

Changes: https://git.openjdk.java.net/jdk/pull/8586/files
 Webrev: https://webrevs.openjdk.java.net/?repo=jdk&pr=8586&range=00
  Issue: https://bugs.openjdk.java.net/browse/JDK-8286348
  Stats: 13 lines in 13 files changed: 0 ins; 13 del; 0 mod
  Patch: https://git.openjdk.java.net/jdk/pull/8586.diff
  Fetch: git fetch https://git.openjdk.java.net/jdk pull/8586/head:pull/8586

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



More information about the client-libs-dev mailing list