-
Bug
-
Resolution: Fixed
-
P3
-
17
-
b27
-
generic
-
os_x_10.15
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-8289959 | 17.0.5-oracle | Alexey Semenyuk | P3 | Resolved | Fixed | b02 |
JDK-8290788 | 17.0.5 | Goetz Lindenmaier | P3 | Resolved | Fixed | b01 |
OS X 10.15
A DESCRIPTION OF THE PROBLEM :
The second launcher cannot be signed because it is already signed. It's like being signed twice.
The same build works before version 17.0.0
REGRESSION : Last worked in version 16
STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
Build an application with a second launcher
EXPECTED VERSUS ACTUAL BEHAVIOR :
EXPECTED -
jpackage should exit with 0
ACTUAL -
java.io.IOException: Command [/usr/bin/codesign, --timestamp, --options, runtime, -s, ***, --prefix, org.weasis.launcher., -vvvv, --keychain, /Users/runner/Library/Keychains/signing_temp.keychain-db, --entitlements, /var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/jdk.jpackage16166130837195785450/config/Weasis.entitlements, weasis-distributions/target/native-dist/Weasis.app/Contents/MacOS/Dicomizer] exited with 1 code
Error: Process completed with exit code 1.
---------- BEGIN SOURCE ----------
Unfortunately, it is not possible to provide a simple test that requires a real certificate and user information. Here is an example of a command:
jpackage --type app-image --add-launcher "Dicomizer=second-launcher.properties" --mac-package-identifier" "org.launcher" "--mac-signing-keychain" "$HOME/Library/Keychains/signing_temp.keychain-db" "--mac-sign ...
---------- END SOURCE ----------
FREQUENCY : always
- backported by
-
JDK-8289959 [macos]: Error when signing the additional launcher
- Resolved
-
JDK-8290788 [macos]: Error when signing the additional launcher
- Resolved
- relates to
-
JDK-8278233 [macos] tools/jpackage tests timeout due to /usr/bin/osascript
- Resolved
-
JDK-8299793 jpackage runs "codesign --remove-signature" on OSX when signing is not enabled
- Closed
- links to
-
Commit openjdk/jdk17u-dev/75b7aedf
-
Commit openjdk/jdk/76968979
-
Review openjdk/jdk17u-dev/562
-
Review openjdk/jdk/6636
-
Review openjdk/jdk/6654