Description of problem: The java-11-openjdk packages don't ship the jspawnhelper binary which is needed for the upcoming jdk.lang.Process.launchMechanism=posix_spawn change in JDK 11.0.4 Version-Release number of selected component (if applicable): java-11-openjdk-11.0.3.7-1.fc29.x86_64 How reproducible: 100% Steps to Reproduce: $ for i in java-11-openjdk{,-devel,-headless}; do rpm -ql $i; done | grep jspawnhelper Actual results: Nothing Expected results: /usr/lib/jvm/java-11-openjdk-11.0.3.7-1.fc29.x86_64/lib/jspawnhelper Additional info: Upstream EA build of 11.0.4+6 from [1] I see this: $ cat PosixSpawnTest.java public class PosixSpawnTest { public static void main(String[] args) throws Exception { int val = Runtime.getRuntime().exec("/bin/true").waitFor(); System.out.println("Exit val: " + val); } } $ javac PosixSpawnTest.java $ strace -f /home/sgehwolf/Documents/openjdk/portable-linux-build/openjdk-11.0.4+6/bin/java -Djdk.lang.Process.launchMechanism=POSIX_SPAWN PosixSpawnTest 2>&1 | grep jspawnhelper [pid 187261] execve("/home/sgehwolf/Documents/openjdk/portable-linux-build/openjdk-11.0.4+6/lib/jspawnhelper", ["13:16"], 0x7ffecd82c718 /* 68 vars */ <unfinished ...>
This requires at least 11.0.4+01 (EA) sources as prior JDK-8220360, jspawnhelper isn't being built at all for Linux.
Proposed fix: https://src.fedoraproject.org/rpms/java-11-openjdk/pull-request/46 <mock-chroot> sh-5.0# java -version openjdk version "11.0.4-ea" 2019-07-16 OpenJDK Runtime Environment 18.9 (build 11.0.4-ea+8) OpenJDK 64-Bit Server VM 18.9 (build 11.0.4-ea+8, mixed mode, sharing) <mock-chroot> sh-5.0# cat > PosixSpawnTest.java <<EOF > public class PosixSpawnTest { > > public static void main(String[] args) throws Exception { > int val = Runtime.getRuntime().exec("/bin/true").waitFor(); > System.out.println("Exit val: " + val); > } > > } > EOF <mock-chroot> sh-5.0# javac PosixSpawnTest.java <mock-chroot> sh-5.0# java -Djdk.lang.Process.launchMechanism=POSIX_SPAWN PosixSpawnTest Exit val: 0 <mock-chroot> sh-5.0# for i in java-11-openjdk{,-devel,-headless}; do rpm -ql $i; done | grep jspawnhelper /usr/lib/jvm/java-11-openjdk-11.0.4.8-0.1.ea.fc31.x86_64/lib/jspawnhelper <mock-chroot> sh-5.0# rpm -qf /usr/lib/jvm/java-11-openjdk-11.0.4.8-0.1.ea.fc31.x86_64/lib/jspawnhelper java-11-openjdk-headless-11.0.4.8-0.1.ea.fc31.x86_64
FEDORA-2019-56a658c60c has been submitted as an update to Fedora 29. https://bodhi.fedoraproject.org/updates/FEDORA-2019-56a658c60c
FEDORA-2019-a9825cfb3d has been submitted as an update to Fedora 30. https://bodhi.fedoraproject.org/updates/FEDORA-2019-a9825cfb3d
java-11-openjdk-11.0.4.11-0.fc30 has been pushed to the Fedora 30 testing repository. If problems still persist, please make note of it in this bug report. See https://fedoraproject.org/wiki/QA:Updates_Testing for instructions on how to install test updates. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2019-a9825cfb3d
java-11-openjdk-11.0.4.11-0.fc29 has been pushed to the Fedora 29 testing repository. If problems still persist, please make note of it in this bug report. See https://fedoraproject.org/wiki/QA:Updates_Testing for instructions on how to install test updates. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2019-56a658c60c
java-11-openjdk-11.0.4.11-0.fc30 has been pushed to the Fedora 30 stable repository. If problems still persist, please make note of it in this bug report.
java-11-openjdk-11.0.4.11-0.fc29 has been pushed to the Fedora 29 stable repository. If problems still persist, please make note of it in this bug report.