> The SSLSocketSSLEngineCloseInbound.java test runs with different protocols, > namely TLSv1.3, TLSv1.2, TLSv1.1, TLSv1, and TLS. The test log file shows > that it completed successfully for the first four protocols, but it failed > when running with protocol=TLS. Protocol TLS is resolved to TLSv1.3. The > failure in the test is a timing-related issue, that server continues with > write() after the client has already closed its side of the connection. This > change removes the race condition by synchronizing the client and server with > CountDownLatch. > > Have validated the change to ensure the test to pass (with > JTREG=REPEAT_COUNT=50).
Hai-May Chao has updated the pull request incrementally with one additional commit since the last revision: Update with Mikhail's comments ------------- Changes: - all: https://git.openjdk.org/jdk/pull/30340/files - new: https://git.openjdk.org/jdk/pull/30340/files/804beff2..9b1dc36f Webrevs: - full: https://webrevs.openjdk.org/?repo=jdk&pr=30340&range=01 - incr: https://webrevs.openjdk.org/?repo=jdk&pr=30340&range=00-01 Stats: 28 lines in 1 file changed: 21 ins; 0 del; 7 mod Patch: https://git.openjdk.org/jdk/pull/30340.diff Fetch: git fetch https://git.openjdk.org/jdk.git pull/30340/head:pull/30340 PR: https://git.openjdk.org/jdk/pull/30340
