mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-28 07:14:30 +02:00
8251548: Remove unnecessary explicit initialization of volatile variables in security-libs code
Reviewed-by: mullan
This commit is contained in:
parent
d35b117956
commit
f55dd9d40e
8 changed files with 17 additions and 17 deletions
|
@ -83,8 +83,8 @@ public final class SSLSocketImpl
|
|||
|
||||
private String peerHost;
|
||||
private boolean autoClose;
|
||||
private boolean isConnected = false;
|
||||
private volatile boolean tlsIsClosed = false;
|
||||
private boolean isConnected;
|
||||
private volatile boolean tlsIsClosed;
|
||||
|
||||
private final ReentrantLock socketLock = new ReentrantLock();
|
||||
private final ReentrantLock handshakeLock = new ReentrantLock();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue