JDK-8158873 : LoadKeystore.java test is failing
  • Type: Bug
  • Component: security-libs
  • Sub-Component: javax.crypto:pkcs11
  • Affected Version: 8u112
  • Priority: P3
  • Status: Resolved
  • Resolution: Fixed
  • Submitted: 2016-06-07
  • Updated: 2016-10-13
  • Resolved: 2016-06-07
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 8
8u112 b01Fixed
Related Reports
Relates :  
Description
After integrating this test into 8uDEV, within corresponding enhancement: JDK-8048622, it started to fail:


Comments
The JceKeyStore was modified to throw UnrecoverableKeyException as part of backport JDK-8154916. The test sun/security/pkcs11/Secmod/LoadKeystore.java expects UnrecoverableKeyException when credentials are incorrect. I think the changes for JDK-8154916 are not pickedup in JDK 1.8.0_112 b1 nightly build.
07-06-2016