8231262: Suppress warnings on non-serializable instance fields in security libs serializable classes

Reviewed-by: mullan, chegar
This commit is contained in:
Joe Darcy 2019-10-09 09:57:41 -07:00
parent a690af3832
commit fbb4093562
18 changed files with 25 additions and 2 deletions

View file

@ -62,6 +62,7 @@ public class ValidatorException extends CertificateException {
public static final Object T_UNTRUSTED_CERT =
"Untrusted certificate";
@SuppressWarnings("serial") // Not statically typed as Serializable
private Object type;
private X509Certificate cert;