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

Additional stacktrace information is printed on failure

Reviewed-by: alanb, dfuchs, chegar
This commit is contained in:
Tristan Yan 2013-11-21 13:37:11 +00:00
parent 1399e33c87
commit 4fe266b9f7
2 changed files with 4 additions and 5 deletions

View File

@ -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

View File

@ -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;
}
}