提交 42dbce97 编写于 作者: T tyan

7036666: test/com/sun/net/httpserver/Test9a.java fails intermittently

Summary: Additional stacktrace information is printed on failure
Reviewed-by: alanb, dfuchs, chegar
上级 02b5b487
......@@ -160,9 +160,6 @@ javax/xml/jaxp/transform/jdk8004476/XSLTExFuncTest.java windows-all
# Filed 7052625
com/sun/net/httpserver/bugs/6725892/Test.java generic-all
# Filed 7036666
com/sun/net/httpserver/Test9a.java generic-all
# failing on vista 32/64 on nightly
# 7102702
java/net/PortUnreachableException/OneExceptionOnly.java windows-all
......
......@@ -40,8 +40,9 @@ import javax.net.ssl.*;
public class Test9a extends Test {
static SSLContext serverCtx, clientCtx;
static boolean error = false;
static SSLContext serverCtx;
static volatile SSLContext clientCtx = null;
static volatile boolean error = false;
public static void main (String[] args) throws Exception {
HttpsServer server = null;
......@@ -176,6 +177,7 @@ public class Test9a extends Test {
compare (new File(orig), temp);
temp.delete();
} catch (IOException e) {
e.printStackTrace();
error = true;
}
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册