test/javax/net/ssl/TLSv11/ExportableStreamCipher.java

Print this page

        

*** 21,39 **** * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA * or visit www.oracle.com if you need additional information or have any * questions. */ /* * @test * @bug 4873188 * @summary Support TLS 1.1 * @run main/othervm ExportableStreamCipher - * - * SunJSSE does not support dynamic system properties, no way to re-use - * system properties in samevm/agentvm mode. - * * @author Xuelei Fan */ import java.io.*; import java.net.*; --- 21,40 ---- * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA * or visit www.oracle.com if you need additional information or have any * questions. */ + // + // SunJSSE does not support dynamic system properties, no way to re-use + // system properties in samevm/agentvm mode. + // + /* * @test * @bug 4873188 * @summary Support TLS 1.1 * @run main/othervm ExportableStreamCipher * @author Xuelei Fan */ import java.io.*; import java.net.*;
*** 107,117 **** boolean interrupted = false; try { sslIS.read(); sslOS.write('A'); sslOS.flush(); ! } catch (SSLException ssle) { // get the expected exception interrupted = true; } finally { sslSocket.close(); } --- 108,118 ---- boolean interrupted = false; try { sslIS.read(); sslOS.write('A'); sslOS.flush(); ! } catch (IOException ioe) { // get the expected exception interrupted = true; } finally { sslSocket.close(); }