6933629: java/net/HttpURLConnection/HttpResponseCode.java fails if run in samevm mode
Reviewed-by: alanb
--- 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.*;