-
Bug
-
Resolution: Fixed
-
P4
-
openjdk8u332, 11.0.15, 17.0.3, 20, 21
-
b14
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-8334422 | 21.0.5-oracle | Weibing Xiao | P4 | Resolved | Fixed | b03 |
JDK-8336743 | 21.0.5 | Matthias Baesken | P4 | Resolved | Fixed | b01 |
JDK-8334423 | 17.0.13-oracle | Weibing Xiao | P4 | Resolved | Fixed | b03 |
JDK-8336814 | 17.0.13 | Matthias Baesken | P4 | Resolved | Fixed | b01 |
JDK-8334424 | 11.0.25-oracle | Weibing Xiao | P4 | Resolved | Fixed | b03 |
JDK-8336875 | 11.0.25 | Matthias Baesken | P4 | Resolved | Fixed | b01 |
JDK-8334425 | 8u431 | Weibing Xiao | P4 | Resolved | Fixed | b03 |
if (appInput.readLock.tryLock()) {
int soTimeout = getSoTimeout();
try {
// deplete could hang on the skip operation
// in case of infinite socket read timeout.
// Change read timeout to avoid deadlock.
// This workaround could be replaced later
// with the right synchronization
if (soTimeout == 0)
setSoTimeout(DEFAULT_SKIP_TIMEOUT);
inputRecord.deplete(false);
} catch (java.net.SocketTimeoutException stEx) {
// skip timeout exception during deplete
} finally {
if (soTimeout == 0)
setSoTimeout(soTimeout);
appInput.readLock.unlock();
}
}
If getSoTimeout() throws an exception, say SocketException, appInput.readLock.unlock() cannot be called.
- backported by
-
JDK-8334422 getSoTimeout() would be in try block in SSLSocketImpl
-
- Resolved
-
-
JDK-8334423 getSoTimeout() would be in try block in SSLSocketImpl
-
- Resolved
-
-
JDK-8334424 getSoTimeout() would be in try block in SSLSocketImpl
-
- Resolved
-
-
JDK-8334425 getSoTimeout() would be in try block in SSLSocketImpl
-
- Resolved
-
-
JDK-8336743 getSoTimeout() would be in try block in SSLSocketImpl
-
- Resolved
-
-
JDK-8336814 getSoTimeout() would be in try block in SSLSocketImpl
-
- Resolved
-
-
JDK-8336875 getSoTimeout() would be in try block in SSLSocketImpl
-
- Resolved
-
- blocks
-
JDK-8274524 SSLSocket.close() hangs if it is called during the ssl handshake
-
- Closed
-
- relates to
-
JDK-8274524 SSLSocket.close() hangs if it is called during the ssl handshake
-
- Closed
-
- links to
-
Commit openjdk/jdk/2264667b
-
Commit(master) openjdk/jdk11u-dev/bc4a5255
-
Commit(master) openjdk/jdk17u-dev/ad6b1fac
-
Commit(master) openjdk/jdk21u-dev/a98bd603
-
Review openjdk/jdk/15503
-
Review(master) openjdk/jdk11u-dev/2869
-
Review(master) openjdk/jdk17u-dev/2722
-
Review(master) openjdk/jdk21u-dev/849