JDK-8242155 : Enhance automated macos signing tests
  • Type: Enhancement
  • Component: tools
  • Sub-Component: jpackage
  • Affected Version: 15
  • Priority: P4
  • Status: Resolved
  • Resolution: Fixed
  • Submitted: 2020-04-04
  • Updated: 2020-04-16
  • Resolved: 2020-04-13
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
JDK 15
15 b19Fixed
Related Reports
Relates :  
Description
The existing Mac Signing tests:
SigningPackageTest.java, and SigningAppImageTest.java 
have never worked on Catalina due to changes in signing requirements.
As part of JDK-8237904, the part of the tests related to verifying spctl output were disabled.
The intent of this issue is to enhance these tests to take into consideration the differences in behavior of the tools across various macos versions.
Comments
URL: https://hg.openjdk.java.net/jdk/jdk/rev/9d4956ec144e User: herrick Date: 2020-04-13 12:26:38 +0000
13-04-2020

webrev: http://cr.openjdk.java.net/~herrick/8242155/webrev.01/
08-04-2020

We may need modification to the underlying helper class(s) to handle cases where there are multiple valid return values as well as multiple valid collections of output strings from a command.
04-04-2020