On Wed, 18 Mar 2026 21:06:50 GMT, xeu-giayoei <[email protected]> wrote:

>> This PR fixes a segfault in the jpackage Linux launcher caused by partial 
>> reads/writes when transferring JVM launcher data through a pipe.
>> 
>> It introduced `readFully` and `writeFully` helper functions in 
>> `LinuxLauncher.c` to ensure complete transfer by:
>> - Using a `while` loop to handle partial I/O.
>> - Retrying on `EINTR`.
>
> xeu-giayoei has refreshed the contents of this pull request, and previous 
> commits have been removed. The incremental views will show differences 
> compared to the previous content of the PR. The pull request contains one new 
> commit since the last revision:
> 
>   8380085: jpackage: handle partial pipe read/write in the Linux launcher

Marked as reviewed by asemenyuk (Reviewer).

I confirm that the jpackage tests pass in our standard test environment.

Thank you for the patch!

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

PR Review: https://git.openjdk.org/jdk/pull/30254#pullrequestreview-3971313054
PR Comment: https://git.openjdk.org/jdk/pull/30254#issuecomment-4086086149

Reply via email to