8274793: Suppress warnings on non-serializable non-transient instance fields in sun.net

Reviewed-by: alanb
This commit is contained in:
Joe Darcy 2021-10-05 19:10:29 +00:00
parent 332f067388
commit d34ec6ccfc
2 changed files with 3 additions and 0 deletions

View file

@ -119,8 +119,10 @@ public class NTLMAuthentication extends AuthenticationInfo {
});
};
@SuppressWarnings("serial") // Type of field is not Serializable
PasswordAuthentication pw;
@SuppressWarnings("serial") // Type of field is not Serializable
Client client;
/**
* Create a NTLMAuthentication: