> 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 ------------- Changes: - all: https://git.openjdk.org/jdk/pull/30254/files - new: https://git.openjdk.org/jdk/pull/30254/files/2309ad2e..933544b9 Webrevs: - full: https://webrevs.openjdk.org/?repo=jdk&pr=30254&range=01 - incr: https://webrevs.openjdk.org/?repo=jdk&pr=30254&range=00-01 Stats: 1 line in 1 file changed: 0 ins; 0 del; 1 mod Patch: https://git.openjdk.org/jdk/pull/30254.diff Fetch: git fetch https://git.openjdk.org/jdk.git pull/30254/head:pull/30254 PR: https://git.openjdk.org/jdk/pull/30254
