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

--launcher-as-service option is ignored when used with --app-image option

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: P3 P3
    • 26
    • 25, 26
    • tools
    • None
    • Fix Understood
    • generic
    • generic

      When jpackage builds a native package from the predefined app image (the "--app-image" option on the command line), it ignores the "--launcher-as-service" option. When the "--launcher-as-service" option is present, jpackage must output a native package that should install the main launcher as a service, but it doesn't.

      The issue was uncovered when improving the coverage of the ServiceTest test by adding test cases for the above scenario.

            asemenyuk Alexey Semenyuk
            asemenyuk Alexey Semenyuk
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: