RDR: JDK-8242294 JSSE Client does not throw SSLException when an alert occurs during handshaking

Xuelei Fan xuelei.fan at oracle.com
Tue Apr 7 20:44:18 UTC 2020


The conContext.isBroken condition in line 1124 is duplicated, and could 
be safely removed, I think.  Otherwise, looks good to me.  I don't think 
there's need for another round of RFR.

Thanks,
Xuelei

On 4/7/2020 12:53 PM, Jamil Nimeh wrote:
> Hello all,
> 
> This is a fix that brings the JSSE client from JDK 11+ back in line with 
> the JDK 8 behavior of delivering SSLException on subsequent reads after 
> a handshake has failed due to an alert condition.
> 
> JBS: https://bugs.openjdk.java.net/browse/JDK-8242294
> 
> Webrev: https://cr.openjdk.java.net/~jnimeh/reviews/8242294/webrev.01
> 
> Thanks,
> 
> --Jamil
> 



More information about the security-dev mailing list