mirror of
https://github.com/openjdk/jdk.git
synced 2026-01-29 04:28:30 +00:00
8274793: Suppress warnings on non-serializable non-transient instance fields in sun.net
Reviewed-by: alanb
This commit is contained in:
parent
332f067388
commit
d34ec6ccfc
@ -79,6 +79,7 @@ public class KeepAliveCache
|
||||
|
||||
// This class is never serialized (see writeObject/readObject).
|
||||
private final ReentrantLock cacheLock = new ReentrantLock();
|
||||
@SuppressWarnings("serial") // Type of field is not Serializable
|
||||
private Thread keepAliveTimer = null;
|
||||
|
||||
/**
|
||||
|
||||
@ -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:
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user