JDK-8021907 : DRS: certificate element algorithm is supposed to default to SHA-256
  • Type: Bug
  • Component: deploy
  • Affected Version: 7u40
  • Priority: P3
  • Status: Closed
  • Resolution: Fixed
  • Submitted: 2013-07-30
  • Updated: 2014-02-12
  • Resolved: 2013-08-01
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 7 JDK 8
7u40 b37Fixed 8Fixed
Description
The certificate element has two arguments, hash and algorithm.
If you specify algorithm="SHA-256" everything works as expected.
If you omit the algorithm arg it is supposed to default to SHA-256 but instead it causes a NPE inside security libs code due to passing in the null algorithm
Comments
Verified using 7u40-b42
2013-09-09

SQE-OK to get this issue fixed for 7u40
2013-07-31