[jdk25u-dev] RFR: 8359978: Test javax/net/ssl/SSLSocket/Tls13PacketSize.java failed again with java.net.SocketException: An established connection was aborted by the software in your host machine
Roland Mesde
duke at openjdk.org
Wed Feb 4 20:50:02 UTC 2026
Backporting JDK-8359978: Test javax/net/ssl/SSLSocket/Tls13PacketSize.java failed again with java.net.SocketException: An established connection was aborted by the software in your host machine.
This PR updates the client application to read any available data from socket before closing, ensuring graceful connection shutdown.
For parity with Oracle JDK.
Ran related tests on linux-x64, linux-aarch64, macos-aarch64 and windows-x64:
make test TEST=test/jdk/javax/net/ssl/SSLSocket/Tls13PacketSize.java
-------------
Commit messages:
- Backport 3cbcda5ff3d86d65554a470571c5d72047e8d7f6
Changes: https://git.openjdk.org/jdk25u-dev/pull/228/files
Webrev: https://webrevs.openjdk.org/?repo=jdk25u-dev&pr=228&range=00
Issue: https://bugs.openjdk.org/browse/JDK-8359978
Stats: 5 lines in 1 file changed: 5 ins; 0 del; 0 mod
Patch: https://git.openjdk.org/jdk25u-dev/pull/228.diff
Fetch: git fetch https://git.openjdk.org/jdk25u-dev.git pull/228/head:pull/228
PR: https://git.openjdk.org/jdk25u-dev/pull/228
More information about the jdk-updates-dev
mailing list