-
Type:
Bug
-
Resolution: Fixed
-
Priority:
P3
-
Affects Version/s: 11, 13
-
Component/s: security-libs
-
b14
-
Not verified
| Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
|---|---|---|---|---|---|---|
| JDK-8239249 | 11.0.8-oracle | Xuelei Fan | P3 | Resolved | Fixed | b01 |
| JDK-8239541 | 11.0.7 | Xuelei Fan | P3 | Resolved | Fixed | b05 |
| JDK-8256677 | openjdk8u272 | Martin Balao Alonso | P3 | Closed | Fixed | b06 |
| JDK-8243700 | 8u261 | Prasadarao Koppula | P3 | Resolved | Fixed | b05 |
| JDK-8247033 | emb-8u261 | Prasadarao Koppula | P3 | Resolved | Fixed | team |
In the following code, two synchronization locks are used. One synchronization lock is sufficient.
@Override
public synchronized SSLSession getHandshakeSession() {
if (conContext.handshakeContext != null) {
synchronized (this) {
if (conContext.handshakeContext != null) {
return conContext.handshakeContext.handshakeSession;
}
}
}
return null;
}
@Override
public synchronized SSLSession getHandshakeSession() {
if (conContext.handshakeContext != null) {
synchronized (this) {
if (conContext.handshakeContext != null) {
return conContext.handshakeContext.handshakeSession;
}
}
}
return null;
}
- backported by
-
JDK-8239249 Duplicated synchronized keywords in SSLSocketImpl
-
- Resolved
-
-
JDK-8239541 Duplicated synchronized keywords in SSLSocketImpl
-
- Resolved
-
-
JDK-8243700 Duplicated synchronized keywords in SSLSocketImpl
-
- Resolved
-
-
JDK-8247033 Duplicated synchronized keywords in SSLSocketImpl
-
- Resolved
-
-
JDK-8256677 Duplicated synchronized keywords in SSLSocketImpl
-
- Closed
-