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.
The issue was uncovered when improving the coverage of the ServiceTest test by adding test cases for the above scenario.
- caused by
- 
                    JDK-8333664 Decouple command line parsing and package building in jpackage -           
- Resolved
 
-         
- links to
- 
                     Review(master)
        openjdk/jdk/28071 Review(master)
        openjdk/jdk/28071