test/jdk/javax/net/ssl/SSLSession/TestEnabledProtocols.java
branchJDK-8145252-TLS13-branch
changeset 56542 56aaa6cb3693
parent 47216 71c04702a3d5
child 51031 a40b75d39ecd
equal deleted inserted replaced
56541:92cbbfc996f3 56542:56aaa6cb3693
   232                     // must have been interrupted, no harm
   232                     // must have been interrupted, no harm
   233                     break;
   233                     break;
   234                 } catch (java.lang.InterruptedException ie) {
   234                 } catch (java.lang.InterruptedException ie) {
   235                     // must have been interrupted, no harm
   235                     // must have been interrupted, no harm
   236                     break;
   236                     break;
       
   237                 } catch (SSLException ssle) {
       
   238                     // The client side may have closed the socket.
       
   239                     System.out.println("Server SSLException:");
       
   240                     ssle.printStackTrace(System.out);
   237                 } catch (Exception e) {
   241                 } catch (Exception e) {
   238                     System.out.println("Server exception:");
   242                     System.out.println("Server exception:");
   239                     e.printStackTrace(System.out);
   243                     e.printStackTrace(System.out);
   240                     throw new RuntimeException(e);
   244                     throw new RuntimeException(e);
   241                 } finally {
   245                 } finally {