RFR: 8042982: Unexpected RuntimeExceptions being thrown by SSLEngine

Rob McKenna rob.mckenna at oracle.com
Tue Jul 22 13:37:47 UTC 2014


Hi folks,

A simple change to use SSLHandshakeException instead of RuntimeException 
in getAgreedSecret in DHCrypt and ECDHCrypt. This will prevent these 
RuntimeExceptions from propagating to the application and allow 
application programmers to handle them as SSLHandshakeExceptions.

http://cr.openjdk.java.net/~robm/8042982/webrev.01/

     -Rob




More information about the security-dev mailing list