[jdk11u-dev] RFR: 8237858: PlainSocketImpl.socketAccept() handles EINTR incorrectly

Andrei Pangin apangin at openjdk.org
Fri Aug 18 21:26:18 UTC 2023


Please consider the proposed backport of the fix for JDK-8237858: PlainSocketImpl.socketAccept() handles EINTR incorrectly.

Customers complain about unexpected `java.net.SocketTimeoutException` when profiling an application running on JDK 11.0.20.

The original patch applies cleanly with a trivial adjustment in `make/common/TestFilesCompilation.gmk`, where `$$` has been replaced with `$`.

-------------

Commit messages:
 - 8237858: PlainSocketImpl.socketAccept() handles EINTR incorrectly

Changes: https://git.openjdk.org/jdk11u-dev/pull/2089/files
 Webrev: https://webrevs.openjdk.org/?repo=jdk11u-dev&pr=2089&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8237858
  Stats: 486 lines in 8 files changed: 462 ins; 6 del; 18 mod
  Patch: https://git.openjdk.org/jdk11u-dev/pull/2089.diff
  Fetch: git fetch https://git.openjdk.org/jdk11u-dev.git pull/2089/head:pull/2089

PR: https://git.openjdk.org/jdk11u-dev/pull/2089


More information about the jdk-updates-dev mailing list