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

jpackage: default ArgOptions are not used if --java-options is passed

    Details

    • Type: Bug
    • Status: Open
    • Priority: P4
    • Resolution: Unresolved
    • Affects Version/s: 14, 15, 16
    • Fix Version/s: tbd
    • Component/s: tools
    • Labels:
      None

      Description

      Here is an example that demonstrates the issue:

      jpackage --dest output --name app --type app-image --module-path input-modules --module com.hello/com.hello.Hello --arguments "A A2 A" --java-options -Dparam1=Param1
      ./output/app/bin/app -Dparam2=Param2
      JvmLauncher args: 7 [output/app/bin/app -Dparam1=Param1 --module-path output/app/lib/app/mods -m com.hello/com.hello.Hello -Dparam2=Param2 ]

        Attachments

          Activity

            People

            • Assignee:
              avoitylov Aleksei Voitylov
              Reporter:
              avoitylov Aleksei Voitylov
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated: