6782783: regtest HttpsURLConnection/B6216082.java throws ClosedByInterruptException
Summary: make the test robust
Reviewed-by: weijun
--- a/jdk/test/sun/security/ssl/sun/net/www/protocol/https/HttpsURLConnection/B6216082.java Tue Feb 03 16:29:32 2009 -0800
+++ b/jdk/test/sun/security/ssl/sun/net/www/protocol/https/HttpsURLConnection/B6216082.java Wed Feb 04 19:10:09 2009 +0800
@@ -136,6 +136,7 @@
server.getLocalPort(), "/");
HttpURLConnection uc = (HttpURLConnection)url.openConnection();
System.out.println(uc.getResponseCode());
+ uc.disconnect();
} catch (IOException e) {
e.printStackTrace();
} finally {