# HG changeset patch # User xuelei # Date 1371739729 25200 # Node ID bd30cde9e64a325a27a382fdab29cd39c698bed3 # Parent f28682666cf769d644a3e701069ac4448156ebee 8017157: catch more exception in test RejectClientRenego Reviewed-by: vinnie diff -r f28682666cf7 -r bd30cde9e64a jdk/test/sun/security/ssl/com/sun/net/ssl/internal/ssl/SSLSocketImpl/RejectClientRenego.java --- a/jdk/test/sun/security/ssl/com/sun/net/ssl/internal/ssl/SSLSocketImpl/RejectClientRenego.java Thu Jun 20 11:21:13 2013 +0200 +++ b/jdk/test/sun/security/ssl/com/sun/net/ssl/internal/ssl/SSLSocketImpl/RejectClientRenego.java Thu Jun 20 07:48:49 2013 -0700 @@ -131,7 +131,7 @@ sslOS.flush(); } throw new Exception("Not reject client initialized renegotiation"); - } catch (SSLHandshakeException she) { + } catch (IOException ioe) { System.out.println("Got the expected exception"); } finally { sslSocket.close(); @@ -181,7 +181,7 @@ sslIS.read(); } throw new Exception("Not reject client initialized renegotiation"); - } catch (SSLHandshakeException she) { + } catch (IOException ioe) { System.out.println("Got the expected exception"); } finally { sslSocket.close();