--- old/test/jdk/sun/security/pkcs11/sslecc/JSSEServer.java 2019-12-04 13:00:25.000000000 -0800 +++ new/test/jdk/sun/security/pkcs11/sslecc/JSSEServer.java 2019-12-04 13:00:25.000000000 -0800 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002, 2017, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2002, 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 @@ -52,6 +52,10 @@ serverSocket = (SSLServerSocket)factory.createServerSocket(0); serverSocket.setSoTimeout(CipherTest.TIMEOUT); CipherTest.serverPort = serverSocket.getLocalPort(); + + // JDK-8190492: Enable all supported protocols on server side to test SSLv3 + serverSocket.setEnabledProtocols(serverSocket.getSupportedProtocols()); + serverSocket.setEnabledCipherSuites(factory.getSupportedCipherSuites()); serverSocket.setWantClientAuth(true); }