-
Bug
-
Resolution: Duplicate
-
P3
-
None
-
repo-portola
-
None
-
Alpine Linux 3.11.3, musl libc (x86_64) version 1.1.24.
JDK built from Portola repository: https://hg.openjdk.java.net/portola/portola
-
x86
-
other
RequiresSetenv(jvmpath) method always returns JNI_TRUE for musl libc library (see [1]) and the launcher re-executes jpackage one more time. This leads that java options in JavaVirtualMachine::launchVM() [2] method are added into vm args twice.
[1] https://hg.openjdk.java.net/portola/portola/file/7ff60204a181/src/java.base/unix/native/libjli/java_md_solinux.c#l244
[2] https://hg.openjdk.java.net/portola/portola/file/7ff60204a181/src/jdk.incubator.jpackage/share/native/libapplauncher/JavaVirtualMachine.cpp#l271
[1] https://hg.openjdk.java.net/portola/portola/file/7ff60204a181/src/java.base/unix/native/libjli/java_md_solinux.c#l244
[2] https://hg.openjdk.java.net/portola/portola/file/7ff60204a181/src/jdk.incubator.jpackage/share/native/libapplauncher/JavaVirtualMachine.cpp#l271
- duplicates
-
JDK-8248239 jpackage adds some arguments twice in case it is re-executed by JLI
- Resolved
- relates to
-
JDK-8229469 JEP 386: Alpine Linux Port
- Closed