JDK-8219389 : Delegated task created by SSLEngine throws BufferUnderflowException
  • Type: Bug
  • Component: security-libs
  • Sub-Component: javax.net.ssl
  • Affected Version: 11,12
  • Priority: P3
  • Status: Closed
  • Resolution: Fixed
  • Submitted: 2019-02-19
  • Updated: 2020-11-19
  • Resolved: 2019-02-20
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 11 JDK 12 JDK 13 JDK 8 Other
11.0.4-oracleFixed 12.0.2Fixed 13 b09Fixed 8u261Fixed openjdk8u272Fixed
Related Reports
Relates :  
See JDK-8215790.

BufferUnderflowException might be a common issue for all handshake messages decoding, other than ClientHello.  We might need a general solution for this kind of RuntimeException.
Fix Request This patch fixes the corner case in SSL handling. The patch applies cleanly [after JDK-8215790 backport] to 12u and [after JDK-8215443 and JDK-8215790 backports] to 11u. Passes jdk_security test suite in both 12u and 11u after the patch.