On Mon, 10 Apr 2023 21:16:19 GMT, Alexey Semenyuk <asemen...@openjdk.org> wrote:

> When `--main-jar` is specified and the name of the main class is picked from 
> the jar's manifest, set `app.jarfile` property in launcher cfg file instead 
> of `app.mainclass` and `app.classpath` properties to make app launcher run 
> the app from the jar and not as a class from the classpath.

src/jdk.jpackage/share/classes/jdk/jpackage/internal/Arguments.java line 518:

> 516:                 }
> 517:             }
> 518: 

This duplicates functionality from 
https://github.com/openjdk/jdk/pull/13413/files#diff-50e3f4f576df4f85d94258043607539f7ec5d55705e7092c00f47432309747a6R210-R218
 and hence was deleted

-------------

PR Review Comment: https://git.openjdk.org/jdk/pull/13413#discussion_r1162096525

Reply via email to