> If the output of an external command execution results in a fatal error, > jpackage will print the command line of the external command. In quiet mode > (without "--vrebose"), it will also print the command's output. > > E.g. (unit test output): > > jpackage --input MainTest\testFailedCommandOutput\input --dest > MainTest\testFailedCommandOutput\output --name FailedCommandOutputMainTest > --type app-image --main-jar hello.jar --main-class Hello --win-console > Error: Unexpected exit code 17 from executing the command jlink-mock --output > MainTest\testFailedCommandOutput\output\FailedCommandOutputMainTest\runtime > --module-path runtime\jmods --add-modules java.base,jdk.xml.dom,jdk.zipfs > --strip-native-commands --strip-debug --no-man-pages --no-header-files > Command output: > It > fell > apart
Alexey Semenyuk has updated the pull request incrementally with one additional commit since the last revision: ExecutableAttributesWithCapturedOutput: augmenResultWithOutput() -> augmentResultWithOutput() ------------- Changes: - all: https://git.openjdk.org/jdk/pull/29197/files - new: https://git.openjdk.org/jdk/pull/29197/files/591f5692..612629d8 Webrevs: - full: https://webrevs.openjdk.org/?repo=jdk&pr=29197&range=02 - incr: https://webrevs.openjdk.org/?repo=jdk&pr=29197&range=01-02 Stats: 6 lines in 3 files changed: 0 ins; 0 del; 6 mod Patch: https://git.openjdk.org/jdk/pull/29197.diff Fetch: git fetch https://git.openjdk.org/jdk.git pull/29197/head:pull/29197 PR: https://git.openjdk.org/jdk/pull/29197
