Details
-
Bug
-
Resolution: Fixed
-
P4
-
9
-
b23
Backports
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-8267198 | 11.0.17-oracle | Shivangi Gupta | P4 | Resolved | Fixed | b01 |
JDK-8288954 | 11.0.17 | Goetz Lindenmaier | P4 | Resolved | Fixed | b01 |
JDK-8304254 | 8u381 | Shivangi Gupta | P4 | Resolved | Fixed | b01 |
Description
// wait a bit before closing the socket to give
// the client time to send its hello message
Thread.currentThread().sleep(100);
s.close();
Test scenario is to close server socket during handshake, but with 100 MS sleep we can't guarantee in exactly what state server will be closed (e.g. handshake may be not started yet or already finished).
Need to refactor test to add more control over test execution flow.
Attachments
Issue Links
- backported by
-
JDK-8267198 sun/security/ssl/SSLSocketImpl/CloseSocket.java makes not reliable time assumption
- Resolved
-
JDK-8288954 sun/security/ssl/SSLSocketImpl/CloseSocket.java makes not reliable time assumption
- Resolved
-
JDK-8304254 sun/security/ssl/SSLSocketImpl/CloseSocket.java makes not reliable time assumption
- Resolved
- relates to
-
JDK-8164533 [TEST_BUG] sun/security/ssl/SSLSocketImpl/CloseSocket.java failed with "Error while cleaning up threads after test"
- Resolved
- links to
-
Commit openjdk/jdk11u-dev/4945cfea
-
Commit openjdk/jdk/347d41df
-
Review openjdk/jdk11u-dev/1165
-
Review openjdk/jdk/3856