On Sun, 15 Mar 2026 22:44:37 GMT, sseu-buhuzzi <[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`.

This pull request has now been integrated.

Changeset: 54c5e41c
Author:    Xu Jiawei <[email protected]>
Committer: Alexey Semenyuk <[email protected]>
URL:       
https://git.openjdk.org/jdk/commit/54c5e41cbaabcd21d7bbf8f5667b2e35cfe12dd7
Stats:     54 lines in 1 file changed: 42 ins; 0 del; 12 mod

8380085: jpackage (Linux) launcher crashes with SIGSEGV when input contains 
large number of JAR files

Reviewed-by: asemenyuk, almatvee

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

PR: https://git.openjdk.org/jdk/pull/30254

Reply via email to