On Thu, 19 Mar 2026 06:31:49 GMT, Thomas Stuefe <[email protected]> wrote:

>> Roger Riggs has updated the pull request incrementally with one additional 
>> commit since the last revision:
>> 
>>   Re-enable running the test with the Musl library and Alpine.
>
> test/jdk/java/lang/ProcessBuilder/libLinuxFDInfo.c line 35:
> 
>> 33:         return buf.st_ino;
>> 34:     }
>> 35: #endif
> 
> Just as an idea, if you want to reproduce the nice "xxw" or "xxr" output of 
> lsof to distinguish the read- from the write-end of the pipe, you could use 
> fcntl and check if the file descriptor is marked as readonly or writeonly. 
> 
> E.g. as a second JNI function that takes an fd and returns true for read end, 
> false for write end. Or you assemble the string right here and send it back.

For the time being the current support meets the needs of testing and 
additional diagnostics do not yet appear to be needed.

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

PR Review Comment: https://git.openjdk.org/jdk/pull/30223#discussion_r2962079328

Reply via email to