mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-28 07:14:30 +02: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
2 changed files with 3 additions and 0 deletions
|
@ -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;
|
||||
|
||||
/**
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue