[jdk22u] RFR: 8325028: (ch) Pipe channels should lazily set socket to non-blocking mode on first use by virtual thread

Vladimir Petko vpetko at openjdk.org
Fri Mar 1 08:42:21 UTC 2024


Hi all,

This pull request contains a backport of commit [d1099033](https://github.com/openjdk/jdk/commit/d1099033ac63b9dd0dd6e3a7341db929e9e0e56e) from the [openjdk/jdk](https://git.openjdk.org/jdk) repository.

The commit being backported was authored by Alan Bateman on 8 Feb 2024 and was reviewed by Brian Burkhalter.

This change fixes a bug in jruby[1] that broken pipeline functions of Open3[1][2].

Thanks!

[1] https://github.com/jruby/jruby/issues/8069
[2] https://bugs.launchpad.net/ubuntu/+source/jruby/+bug/2054943

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

Commit messages:
 - Backport d1099033ac63b9dd0dd6e3a7341db929e9e0e56e

Changes: https://git.openjdk.org/jdk22u/pull/79/files
 Webrev: https://webrevs.openjdk.org/?repo=jdk22u&pr=79&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8325028
  Stats: 84 lines in 2 files changed: 70 ins; 4 del; 10 mod
  Patch: https://git.openjdk.org/jdk22u/pull/79.diff
  Fetch: git fetch https://git.openjdk.org/jdk22u.git pull/79/head:pull/79

PR: https://git.openjdk.org/jdk22u/pull/79


More information about the jdk-updates-dev mailing list