test/jdk/javax/net/ssl/SSLSession/TestEnabledProtocols.java
changeset 50768 68fa3d4026ea
parent 47216 71c04702a3d5
child 51031 a40b75d39ecd
--- a/test/jdk/javax/net/ssl/SSLSession/TestEnabledProtocols.java	Mon Jun 25 21:22:16 2018 +0300
+++ b/test/jdk/javax/net/ssl/SSLSession/TestEnabledProtocols.java	Mon Jun 25 13:41:39 2018 -0700
@@ -234,6 +234,10 @@
                 } catch (java.lang.InterruptedException ie) {
                     // must have been interrupted, no harm
                     break;
+                } catch (SSLException ssle) {
+                    // The client side may have closed the socket.
+                    System.out.println("Server SSLException:");
+                    ssle.printStackTrace(System.out);
                 } catch (Exception e) {
                     System.out.println("Server exception:");
                     e.printStackTrace(System.out);