提交 658780e1 编写于 作者: C coffeys

8166362: [TEST_BUG] test sun/net/www/http/HttpClient/B8025710.java failing...

8166362: [TEST_BUG] test sun/net/www/http/HttpClient/B8025710.java failing with cert error in 8u121 b01
8177144: [TEST BUG] sun/net/www/http/HttpClient/B8025710.java should run in ovm mode
Reviewed-by: xuelei
上级 417378b4
......@@ -37,6 +37,7 @@ import javax.net.ssl.*;
* @test
* @bug 8025710
* @summary Proxied https connection reuse by HttpClient can send CONNECT to the server
* @run main/othervm B8025710
*/
public class B8025710 {
......@@ -47,6 +48,9 @@ public class B8025710 {
private static final String passphrase = "passphrase";
public static void main(String[] args) throws Exception {
// test uses legacy MD5 based cert
Security.setProperty("jdk.certpath.disabledAlgorithms", "");
Security.setProperty("jdk.tls.disabledAlgorithms", "");
new B8025710().runTest();
if (connectInServer.get())
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册