On Thu, 30 Nov 2023 14:14:56 GMT, Alexey Semenyuk <[email protected]> wrote:
> Add tests to make sure jpackage emits meaningful error messages when used > with invalid app images. > > Added `JPackageCommand.nullableOutputBundle()` function that returns an empty > `Optional` instance if it fails to deduce a path to the output bundle from > jpackage command line. This is the case when jpackage command is used with > `--app-image` cli option and referenced app image directory is missing > `.jpackage.xml` file. This pull request has now been integrated. Changeset: 56d4c33f Author: Alexey Semenyuk <[email protected]> URL: https://git.openjdk.org/jdk/commit/56d4c33f4096d98d08eba870070b5f21125f80be Stats: 71 lines in 3 files changed: 64 ins; 0 del; 7 mod 8227529: With malformed --app-image the error messages are awful Reviewed-by: almatvee ------------- PR: https://git.openjdk.org/jdk/pull/16901
