test/jdk/sun/security/ssl/SSLSocketImpl/SetClientMode.java
changeset 50768 68fa3d4026ea
parent 47216 71c04702a3d5
equal deleted inserted replaced
50767:356eaea05bf0 50768:68fa3d4026ea
    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 // SunJSSE does not support dynamic system properties, no way to re-use
       
    25 // system properties in samevm/agentvm mode.
       
    26 
    24 /*
    27 /*
    25  * @test
    28  * @test
    26  * @bug 6223624
    29  * @bug 6223624
       
    30  * @ignore this test does not grant to work.  The handshake may have completed
       
    31  *        when getSession() return.  Please update or remove this test case.
    27  * @summary SSLSocket.setUseClientMode() fails to throw expected
    32  * @summary SSLSocket.setUseClientMode() fails to throw expected
    28  *        IllegalArgumentException
    33  *        IllegalArgumentException
    29  * @run main/othervm SetClientMode
    34  * @run main/othervm SetClientMode
    30  *
       
    31  *     SunJSSE does not support dynamic system properties, no way to re-use
       
    32  *     system properties in samevm/agentvm mode.
       
    33  */
    35  */
    34 
    36 
    35 /*
    37 /*
    36  * Attempts to replicate a TCK test failure which creates SSLServerSockets
    38  * Attempts to replicate a TCK test failure which creates SSLServerSockets
    37  * and then runs client threads which connect and start handshaking. Once
    39  * and then runs client threads which connect and start handshaking. Once