jdk/test/sun/net/www/protocol/https/HttpsURLConnection/B6216082.java
changeset 34522 fa15f1bdaec2
parent 30820 0d4717a011d3
child 44671 d1d011d4654d
equal deleted inserted replaced
34521:0e27f58894a3 34522:fa15f1bdaec2
     1 /*
     1 /*
     2  * Copyright (c) 2005, 2012, Oracle and/or its affiliates. All rights reserved.
     2  * Copyright (c) 2005, 2015, Oracle and/or its affiliates. All rights reserved.
     3  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
     3  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
     4  *
     4  *
     5  * This code is free software; you can redistribute it and/or modify it
     5  * This code is free software; you can redistribute it and/or modify it
     6  * under the terms of the GNU General Public License version 2 only, as
     6  * under the terms of the GNU General Public License version 2 only, as
     7  * published by the Free Software Foundation.
     7  * published by the Free Software Foundation.
    19  * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
    19  * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
    20  * or visit www.oracle.com if you need additional information or have any
    20  * or visit www.oracle.com if you need additional information or have any
    21  * questions.
    21  * questions.
    22  */
    22  */
    23 
    23 
       
    24 //
       
    25 // SunJSSE does not support dynamic system properties, no way to re-use
       
    26 // system properties in samevm/agentvm mode.
       
    27 //
       
    28 
    24 /*
    29 /*
    25  * @test
    30  * @test
    26  * @bug 6216082
    31  * @bug 6216082
    27  * @summary  Redirect problem with HttpsURLConnection using a proxy
    32  * @summary  Redirect problem with HttpsURLConnection using a proxy
    28  *     SunJSSE does not support dynamic system properties, no way to re-use
       
    29  *     system properties in samevm/agentvm mode.
       
    30  * @modules java.base/sun.net.www
    33  * @modules java.base/sun.net.www
    31  * @library ..
    34  * @library ..
    32  * @build HttpCallback TestHttpsServer ClosedChannelList HttpTransaction TunnelProxy
    35  * @build HttpCallback TestHttpsServer ClosedChannelList
       
    36  *        HttpTransaction TunnelProxy
       
    37  * @key intermittent
    33  * @run main/othervm B6216082
    38  * @run main/othervm B6216082
    34  */
    39  */
    35 
    40 
    36 import java.io.*;
    41 import java.io.*;
    37 import java.net.*;
    42 import java.net.*;