# HG changeset patch # User skovalev # Date 1486068817 18000 # Node ID dbb07ad63c7100b6e140cb4546ad07304c4a0640 # Parent bc7f8619ab705a3f6aee56f96c8d159a95feb5fd 8173763: Two security tests fail with message: "java.security.NoSuchAlgorithmException: EC KeyFactory not available" Reviewed-by: mullan diff -r bc7f8619ab70 -r dbb07ad63c71 jdk/test/sun/net/www/protocol/https/HttpsClient/ProxyAuthTest.java --- a/jdk/test/sun/net/www/protocol/https/HttpsClient/ProxyAuthTest.java Thu Feb 02 16:50:46 2017 +0000 +++ b/jdk/test/sun/net/www/protocol/https/HttpsClient/ProxyAuthTest.java Thu Feb 02 15:53:37 2017 -0500 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2001, 2016, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2001, 2017, 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 @@ -31,7 +31,8 @@ * @bug 4323990 4413069 8160838 * @summary HttpsURLConnection doesn't send Proxy-Authorization on CONNECT * Incorrect checking of proxy server response - * @modules java.base/sun.net.www + * @modules jdk.crypto.ec + * java.base/sun.net.www * @library /javax/net/ssl/templates * @run main/othervm ProxyAuthTest fail * @run main/othervm -Djdk.http.auth.tunneling.disabledSchemes=Basic diff -r bc7f8619ab70 -r dbb07ad63c71 jdk/test/sun/security/ssl/ServerHandshaker/AnonCipherWithWantClientAuth.java --- a/jdk/test/sun/security/ssl/ServerHandshaker/AnonCipherWithWantClientAuth.java Thu Feb 02 16:50:46 2017 +0000 +++ b/jdk/test/sun/security/ssl/ServerHandshaker/AnonCipherWithWantClientAuth.java Thu Feb 02 15:53:37 2017 -0500 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2001, 2016, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2001, 2017, 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 @@ -29,6 +29,7 @@ /* * @test * @bug 4392475 + * @modules jdk.crypto.ec * @library /javax/net/ssl/templates * @summary Calling setWantClientAuth(true) disables anonymous suites * @run main/othervm -Djavax.net.debug=all AnonCipherWithWantClientAuth