Test test/jdk/tools/jpackage/share/JavaOptionsTest.java fails on Alpine Linux

XMLWordPrintable

    • Type: Bug
    • Resolution: Duplicate
    • Priority: P3
    • None
    • Affects Version/s: repo-portola
    • Component/s: tools
    • None
    • Environment:
    • 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

            Assignee:
            Aleksei Voitylov
            Reporter:
            Alexandr Scherbatiy
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: