# HG changeset patch # User xuelei # Date 1389710470 28800 # Node ID bc74fab441beef9b5bebdc13fb487d5ce91fbe01 # Parent 03a650801c8d44cb66c22a68332f43aa02f66a60 8031566: regression test failure, SSLEngineBadBufferArrayAccess.java Reviewed-by: mullan diff -r 03a650801c8d -r bc74fab441be test/sun/security/ssl/com/sun/net/ssl/internal/ssl/SSLEngineImpl/SSLEngineBadBufferArrayAccess.java --- a/test/sun/security/ssl/com/sun/net/ssl/internal/ssl/SSLEngineImpl/SSLEngineBadBufferArrayAccess.java Tue Jul 03 20:29:16 2012 -0700 +++ b/test/sun/security/ssl/com/sun/net/ssl/internal/ssl/SSLEngineImpl/SSLEngineBadBufferArrayAccess.java Tue Jan 14 06:41:10 2014 -0800 @@ -146,14 +146,14 @@ "SSLv3", "TLSv1", "TLSv1.1", "TLSv1.2" }; for (String protocol : protocols) { - log("Testing " + protocol); /* * Run the tests with direct and indirect buffers. */ - SSLEngineBadBufferArrayAccess test = - new SSLEngineBadBufferArrayAccess(protocol); - test.runTest(true); - test.runTest(false); + log("Testing " + protocol + ":true"); + new SSLEngineBadBufferArrayAccess(protocol).runTest(true); + + log("Testing " + protocol + ":false"); + new SSLEngineBadBufferArrayAccess(protocol).runTest(false); } System.out.println("Test Passed.");