JDK-8138704 : CertStatusReqItemV2 should not implement StatusRequest interface
  • Type: Bug
  • Component: security-libs
  • Sub-Component: javax.net.ssl
  • Affected Version: 9
  • Priority: P4
  • Status: Closed
  • Resolution: Fixed
  • Submitted: 2015-10-01
  • Updated: 2016-06-13
  • Resolved: 2015-10-02
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 9
9 b85Fixed
Related Reports
Relates :  
Description
The CertStatusReqItemV2 class should not implement the StatusRequest interface.  This was left over from a prototype of OCSP stapling.  Things worked because the class needed (and still needs) to have length() and send() methods.  But a CertStatusReqItemV2 isn't a StatusRequest like OCSPStatusRequest is and therefore the "implements" definition should be removed.  It also allows us to reduce the visibility of the length and send methods to package-private.
Comments
Just need to remove the "implements StatusRequest" from the class definition and reduce the visibility of the length() and send() methods.
01-10-2015