Integrated: 4337793: Mark non-serializable fields of java.security.cert.Certificate and CertPath
Sean Mullan
mullan at openjdk.java.net
Thu Nov 18 13:51:48 UTC 2021
On Mon, 15 Nov 2021 17:03:51 GMT, Sean Mullan <mullan at openjdk.org> wrote:
> 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.
>
> CSR: https://bugs.openjdk.java.net/browse/JDK-8277128
This pull request has now been integrated.
Changeset: a44b45fd
Author: Sean Mullan <mullan at openjdk.org>
URL: https://git.openjdk.java.net/jdk/commit/a44b45fdf31275a2c1e9d1d0132874a7de45f8ee
Stats: 29 lines in 2 files changed: 7 ins; 0 del; 22 mod
4337793: Mark non-serializable fields of java.security.cert.Certificate and CertPath
Reviewed-by: valeriep, rriggs
-------------
PR: https://git.openjdk.java.net/jdk/pull/6392
More information about the security-dev
mailing list