6933629: java/net/HttpURLConnection/HttpResponseCode.java fails if run in samevm mode

Reviewed-by: alanb
This commit is contained in:
Chris Hegarty 2010-03-11 17:37:33 +00:00
parent ae14beadd3
commit 9cf7c0352d
2 changed files with 4 additions and 1 deletions

View File

@ -700,7 +700,6 @@ java/net/URLConnection/TimeoutTest.java generic-all
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

View File

@ -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.*;