On Wed, 11 Mar 2026 06:58:22 GMT, Thomas Stuefe <[email protected]> wrote:
>> src/java.base/unix/native/libjava/childproc.c line 435: >> >>> 433: (closeSafely(p->childenv[0]) == -1) || >>> 434: (closeSafely(p->childenv[1]) == -1) || >>> 435: (closeSafely(p->fail[0]) == -1)) >> >> The errno sent by WhyJohnnyCantExec will be meaningless if any of these are >> true. >> It would useful debugging info to insert some kind of identifying code in >> the upper bits of errno for each of the `goto WhyCan'tJohnnyExec`. > > That is a neat idea. I had vaguely something similar in mind for a follow-up > RFE, but seeing that analysis in this PR is so much fun I will try and add a > small version of this here. Done as part of [JDK-8379967](https://bugs.openjdk.org/browse/JDK-8379967) ------------- PR Review Comment: https://git.openjdk.org/jdk/pull/29939#discussion_r2940710223
