6933629: java/net/HttpURLConnection/HttpResponseCode.java fails if run in samevm mode
authorchegar
Thu, 11 Mar 2010 17:37:33 +0000
changeset 5146 14e4cb8ed49a
parent 5145 da75dc06a7f5
child 5147 96642e83ad41
6933629: java/net/HttpURLConnection/HttpResponseCode.java fails if run in samevm mode Reviewed-by: alanb
jdk/test/ProblemList.txt
jdk/test/java/net/CookieHandler/CookieHandlerTest.java
--- a/jdk/test/ProblemList.txt	Thu Mar 11 16:17:57 2010 +0000
+++ b/jdk/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/jdk/test/java/net/CookieHandler/CookieHandlerTest.java	Thu Mar 11 16:17:57 2010 +0000
+++ b/jdk/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.*;