Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8274622

jlink failed with: Error: java.lang.IllegalArgumentException

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P4
    • Resolution: Cannot Reproduce
    • Affects Version/s: 18
    • Fix Version/s: tbd
    • Component/s: tools
    • Labels:

      Description

      Test: tools/jpackage/macosx/ArgumentsFilteringTest.java

      [16:12:32.400] Output:
          WARNING: Using incubator modules: jdk.incubator.vector, jdk.incubator.foreign
      Error: java.lang.IllegalArgumentException

      [16:12:32.401] Returned: 1

      [16:12:32.402] jdk.jpackage.internal.PackagerException: jlink failed with: WARNING: Using incubator modules: jdk.incubator.vector, jdk.incubator.foreign
      Error: java.lang.IllegalArgumentException

      at jdk.jpackage/jdk.jpackage.internal.JLinkBundlerHelper.runJLink(JLinkBundlerHelper.java:199)
      at jdk.jpackage/jdk.jpackage.internal.JLinkBundlerHelper.execute(JLinkBundlerHelper.java:81)
      at jdk.jpackage/jdk.jpackage.internal.AppImageBundler.createAppBundle(AppImageBundler.java:166)
      at jdk.jpackage/jdk.jpackage.internal.AppImageBundler.execute(AppImageBundler.java:91)
      at jdk.jpackage/jdk.jpackage.internal.Arguments.generateBundle(Arguments.java:674)
      at jdk.jpackage/jdk.jpackage.internal.Arguments.processArguments(Arguments.java:551)
      at jdk.jpackage/jdk.jpackage.main.Main.execute(Main.java:91)
      at jdk.jpackage/jdk.jpackage.main.Main.main(Main.java:52)
      [16:12:32.413] TRACE: exec: Done. Exit code: 1
      [16:12:32.418] ERROR: Expected [0]. Actual [1]: Check command [/System/Volumes/Data/mesos/work_dir/jib-master/install/jdk-18+18-1030/macosx-aarch64.jdk/jdk-18.jdk/Contents/Home/bin/jpackage --input ./test2/input --dest ./test2/output --name 2ArgumentsFilteringTest --type app-image --main-jar hello.jar --main-class Hello --arguments -psn_2_2 --verbose](16) exited with 0 code

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              herrick Andy Herrick (Inactive)
              Reporter:
              dholmes David Holmes
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: