RFR: 8307990: jspawnhelper must close its writing side of a pipe before reading from it
Bernd
duke at openjdk.org
Wed May 17 15:03:04 UTC 2023
On Wed, 17 May 2023 12:40:58 GMT, Volker Simonis <simonis at openjdk.org> wrote:
> If we do a short read we will work with corrupted `ChildStuff` and `SpawnInfo` structures.
i would agree failing after readFully returns short reads is fine. It won’t stop the method from retrying/completing endlessly in a pathological condition (like the missing close), though).
-------------
PR Comment: https://git.openjdk.org/jdk/pull/13956#issuecomment-1551554490
More information about the core-libs-dev
mailing list