RFR: 8307990: jspawnhelper must close its writing side of a pipe before reading from it

Volker Simonis simonis at openjdk.org
Mon May 15 18:07:46 UTC 2023


On Mon, 15 May 2023 16:31:38 GMT, Thomas Stuefe <stuefe at openjdk.org> wrote:

> The fact that this error is in there since JDK 13 is scary.

The error is there since ten years since the `posix_spawn` mechanism was initially introduced with [JDK-5049299](https://bugs.openjdk.org/browse/JDK-5049299) for JDK 8 and downported to JDK 7 :)

In JDK 13 it only became the default mechanism on Linux.

And although LTS releases are not different from any other releases (reference pending :) it was only detected when migrations to JDK 17 finally started to ramp-up.

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

PR Comment: https://git.openjdk.org/jdk/pull/13956#issuecomment-1548319407


More information about the core-libs-dev mailing list