[jdk21u-dev] RFR: 8358496: Concurrent reading from Socket with timeout executes sequentially
Paul Hohensee
phh at openjdk.org
Tue Nov 18 18:25:31 UTC 2025
On Thu, 13 Nov 2025 20:53:15 GMT, Roland Mesde <duke at openjdk.org> wrote:
> Backporting JDK-8358496: Concurrent reading from Socket with timeout executes sequentially. Updated SocketImpl so that the timeout applies to the total time waiting to acquire and read. Adds a new test to the existing java/net/Socket/Timeouts test. The test was minimally modified from the original commit for JDK version compatibility.
>
> Ran GHA Sanity Checks (passed) and related test (passed).
The only conflict I see is in Timeouts.java where the original commit deleted the import of ScheduledExecutorService. You can probably fix that.
-------------
Changes requested by phh (Reviewer).
PR Review: https://git.openjdk.org/jdk21u-dev/pull/2470#pullrequestreview-3479180879
More information about the jdk-updates-dev
mailing list