JDK-8260286 : Manual Test "ws/open/test/jdk/sun/security/tools/jarsigner/compatibility/Compatibility.java" fails
  • Type: Bug
  • Component: security-libs
  • Affected Version: 11,14,15,16
  • Priority: P4
  • Status: Resolved
  • Resolution: Fixed
  • Submitted: 2021-01-22
  • Updated: 2024-07-09
  • Resolved: 2021-01-26
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 17
17 b07Fixed
Related Reports
Relates :  
Relates :  
Description
"ws/open/test/jdk/sun/security/tools/jarsigner/compatibility/Compatibility.java" fails with error: "verifyingStatus: unexpected line: The SHA-1 digest algorithm is considered a security risk. This algorithm will be disabled in a future update."

The warning that the test is not handling was included by https://bugs.openjdk.java.net/browse/JDK-8172404
Comments
Changeset: 9f0a0436 Author: Fernando Guallini <fguallini@openjdk.org> Committer: Rajan Halade <rhalade@openjdk.org> Date: 2021-01-26 18:15:26 +0000 URL: https://git.openjdk.java.net/jdk/commit/9f0a0436
26-01-2021

Test will be updated to not fail if "weak algorithm" warning is in the output . This test will need to be revisited after SHA-1 is disabled, targeted for mid 2021 in roadmap: https://java.com/en/jre-jdk-cryptoroadmap.html
22-01-2021