--- old/test/jdk/javax/net/ssl/ServerName/SSLSocketExplorer.java 2019-12-04 13:00:23.000000000 -0800 +++ new/test/jdk/javax/net/ssl/ServerName/SSLSocketExplorer.java 2019-12-04 13:00:22.000000000 -0800 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2012, 2014, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2012, 2019, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it @@ -28,7 +28,7 @@ /** * @test - * @bug 7068321 + * @bug 7068321 8190492 * @summary Support TLS Server Name Indication (SNI) Extension in JSSE Server * @library ../templates * @build SSLCapabilities SSLExplorer @@ -148,6 +148,9 @@ new ByteArrayInputStream(buffer, 0, position); SSLSocket sslSocket = (SSLSocket)sslsf.createSocket(socket, bais, true); + // Enable all supported protocols on server side to test SSLv3 + sslSocket.setEnabledProtocols(sslSocket.getSupportedProtocols()); + InputStream sslIS = sslSocket.getInputStream(); OutputStream sslOS = sslSocket.getOutputStream();