changeset 857:a96a1f0edeeb

6782783: regtest HttpsURLConnection/B6216082.java throws ClosedByInterruptException Summary: make the test robust Reviewed-by: weijun
author xuelei
date Wed, 04 Feb 2009 19:10:09 +0800
parents 050da121df16
children 61ee91f965ac
files test/sun/security/ssl/sun/net/www/protocol/https/HttpsURLConnection/B6216082.java
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/test/sun/security/ssl/sun/net/www/protocol/https/HttpsURLConnection/B6216082.java	Tue Feb 03 16:29:32 2009 -0800
+++ b/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 {