Code review request, JDK-8017157, catch more exception in test RejectClientRenego

Xuelei Fan xuelei.fan at oracle.com
Thu Jun 20 09:42:48 UTC 2013


Hi,

Please review this test only update:
http://cr.openjdk.java.net/~xuelei/8017157/webrev.00/

In test RejectClientRenego.java, we tried to catch SSLHandshakeException
in both client and server. However, the client thread may throw
SocketException when it receives server handshake failure messages.

This update loosens the exception check by ignoring IOException rather
than SSLHandshakeException:

-        } catch (SSLHandshakeException she) {
+        } catch (IOException ioe) {

Thanks,
Xuelei



More information about the security-dev mailing list