On Wed, 18 Mar 2026 20:18:09 GMT, xeu-giayoei <[email protected]> wrote:

> It seems difficult to add a test for `EINTR` with the current launcher code.

Fair enough. I tried to reproduce the issue using the Makefile attached to the 
CR, but it is not reproducible in my test environment:

$ make -f JDK-8380085-Makefile 
printf '%s' "$MAIN_JAVA_CONTENT" > Main.java
jdk/bin/javac Main.java
mkdir -p libs
seq -f 'libs/dummy-%010g.jar' 1 1024 | xargs touch
jdk/bin/jar cf libs/main.jar Main.class
rm -rf output
jdk/bin/jpackage --type app-image \
--name LongCp \
--input libs \
--main-jar main.jar \
--main-class Main \
--dest output
output/LongCp/bin/LongCp || echo 'Bug.'
Hello world!


I'll try this PR in our standard test environment and approve it if the 
existing jpackage tests pass.

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

PR Comment: https://git.openjdk.org/jdk/pull/30254#issuecomment-4085746720

Reply via email to