Please review this 20+ year old bug (!), which marks the non-serializable fields of Certificate and CertPath with the transient modifier. These classes use an alternate serialization mechanism by overriding the writeReplace method. However, the fields of each class were never marked as transient and as a result were incorrectly documented in the Serialized Form section of the javadoc.
------------- Commit messages: - 4337793: Mark non-serializable fields of java.security.cert.Certificate and CertPath Changes: https://git.openjdk.java.net/jdk/pull/6392/files Webrev: https://webrevs.openjdk.java.net/?repo=jdk&pr=6392&range=00 Issue: https://bugs.openjdk.java.net/browse/JDK-4337793 Stats: 3 lines in 2 files changed: 0 ins; 0 del; 3 mod Patch: https://git.openjdk.java.net/jdk/pull/6392.diff Fetch: git fetch https://git.openjdk.java.net/jdk pull/6392/head:pull/6392 PR: https://git.openjdk.java.net/jdk/pull/6392