changeset 2352:c342735a3e58

6933629: java/net/HttpURLConnection/HttpResponseCode.java fails if run in samevm mode Reviewed-by: alanb
author chegar
date Thu, 11 Mar 2010 17:37:33 +0000
parents 07e1c5a90c6a
children c6f8c58ed51a
files test/ProblemList.txt test/java/net/CookieHandler/CookieHandlerTest.java
diffstat 2 files changed, 4 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/test/ProblemList.txt	Thu Mar 11 16:17:57 2010 +0000
+++ b/test/ProblemList.txt	Thu Mar 11 17:37:33 2010 +0000
@@ -700,7 +700,6 @@
 java/net/URLConnection/ZeroContentLength.java		 	generic-all
 
 # Solaris 11 i586 fails with samevm, not sure why
-java/net/HttpURLConnection/HttpResponseCode.java		generic-all
 java/net/ResponseCache/B6181108.java				generic-all
 java/net/ResponseCache/ResponseCacheTest.java			generic-all
 java/net/URL/GetContent.java					generic-all
--- a/test/java/net/CookieHandler/CookieHandlerTest.java	Thu Mar 11 16:17:57 2010 +0000
+++ b/test/java/net/CookieHandler/CookieHandlerTest.java	Thu Mar 11 17:37:33 2010 +0000
@@ -24,9 +24,13 @@
 /* @test
  * @summary Unit test for java.net.CookieHandler
  * @bug 4696506
+ * @run main/othervm CookieHandlerTest
  * @author Yingxian Wang
  */
 
+// Run in othervm since a default cookier handler is set and this
+// can effect other HTTP related tests.
+
 import java.net.*;
 import java.util.*;
 import java.io.*;