On Thu, 2 Jun 2022 05:17:25 GMT, Alexander Matveev <almat...@openjdk.org> wrote:
> - Added support for signing predefined application image. > - Following command can be used to sign predefined application images: > jpackage --type app-image --app-image Test.app --mac-sign [additional signing > options] > - Main class and if --mac-app-store was specified will be saved in > .jpackage.xml. Both values are required for signing. Main class is to > generate default identity and --mac-app-store to do correct signing for App > Store. > - Signing is done exactly same as when generating app bundle. Unsigned, > signed or partially signed app images are supported. App image will be > completely unsigned before signing. test/jdk/tools/jpackage/macosx/SigningAppImageTwoStepsTest.java line 69: > 67: SigningCheck.checkCertificates(); > 68: > 69: Path appimageOutput = TKit.workDir().resolve("appimage"); This should be `TKit.createTempDirectory("appimage")` to allow subsequent invocations of the test to create a new "appimage" directory if the test work directory already contains "appimage" directory from the previous test run. ------------- PR: https://git.openjdk.java.net/jdk/pull/8987