-
Type:
Bug
-
Resolution: Fixed
-
Priority:
P3
-
Affects Version/s: 25
-
Component/s: tools
| Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
|---|---|---|---|---|---|---|
| JDK-8372101 | 25.0.3-oracle | Alexey Semenyuk | P3 | Resolved | Fixed | master |
| JDK-8372017 | 25.0.3 | Alexey Semenyuk | P3 | Resolved | Fixed | master |
| JDK-8372106 | 25.0.2 | Alexey Semenyuk | P3 | Resolved | Fixed | b07 |
ADDITIONAL SYSTEM INFORMATION :
MacOS
A DESCRIPTION OF THE PROBLEM :
--mac-signing-key-user-name no longer works as expected, jpackage complains that it cannot find the cert. This is down to a simple string matching bug.
Now you need to provide a user ID in it too, e.g.: --mac-signing-key-user-name "Company Name (ABC1234567)", for example.
This was never the case before and is contrary to the documentation: "Team or user name portion".
It's down to this buggy code:
var matchingCertificates = mappedCertficates.stream().filter(e -> {
return signingIdentityNames.contains(e.getKey());
}).map(Map.Entry::getValue).toList();
... in SigningIdentitiyBuilder.
This is a regression.
It would also be helpful, please, if you logged the commands you're running and the number of certs found, etc., especially if --verbose is specified. We're completely 100% in the dark about what jpackage is doing. Debugging this stuff is not easy and there are problems from release to release.
REGRESSION : Last worked in version 21.0.9
MacOS
A DESCRIPTION OF THE PROBLEM :
--mac-signing-key-user-name no longer works as expected, jpackage complains that it cannot find the cert. This is down to a simple string matching bug.
Now you need to provide a user ID in it too, e.g.: --mac-signing-key-user-name "Company Name (ABC1234567)", for example.
This was never the case before and is contrary to the documentation: "Team or user name portion".
It's down to this buggy code:
var matchingCertificates = mappedCertficates.stream().filter(e -> {
return signingIdentityNames.contains(e.getKey());
}).map(Map.Entry::getValue).toList();
... in SigningIdentitiyBuilder.
This is a regression.
It would also be helpful, please, if you logged the commands you're running and the number of certs found, etc., especially if --verbose is specified. We're completely 100% in the dark about what jpackage is doing. Debugging this stuff is not easy and there are problems from release to release.
REGRESSION : Last worked in version 21.0.9
- backported by
-
JDK-8372017 --mac-signing-key-user-name no longer works
-
- Resolved
-
-
JDK-8372101 --mac-signing-key-user-name no longer works
-
- Resolved
-
-
JDK-8372106 --mac-signing-key-user-name no longer works
-
- Resolved
-
- caused by
-
JDK-8333664 Decouple command line parsing and package building in jpackage
-
- Resolved
-
- links to
-
Commit(master)
openjdk/jdk25u/8fd9a739
-
Commit(master)
openjdk/jdk/0555f622
-
Review(master)
openjdk/jdk25u/366
-
Review(master)
openjdk/jdk/28120
(3 links to)