diff --git a/jdk/test/sun/security/ssl/com/sun/net/ssl/internal/ssl/SSLSocketImpl/RejectClientRenego.java b/jdk/test/sun/security/ssl/com/sun/net/ssl/internal/ssl/SSLSocketImpl/RejectClientRenego.java index 65f6f6f1c66..29f80d9e15b 100644 --- a/jdk/test/sun/security/ssl/com/sun/net/ssl/internal/ssl/SSLSocketImpl/RejectClientRenego.java +++ b/jdk/test/sun/security/ssl/com/sun/net/ssl/internal/ssl/SSLSocketImpl/RejectClientRenego.java @@ -131,7 +131,7 @@ public class RejectClientRenego implements 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 @@ public class RejectClientRenego implements 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();