提交 c1e0621d 编写于 作者: C chegar

6935199: java/net regression tests failing with Assertions

Reviewed-by: michaelm
上级 39bd64c6
...@@ -596,10 +596,6 @@ sun/net/www/http/KeepAliveStream/KeepAliveStreamCloseWithWrongContentLength.java ...@@ -596,10 +596,6 @@ sun/net/www/http/KeepAliveStream/KeepAliveStreamCloseWithWrongContentLength.java
# Interrupted or IO exception, maybe writing to non-unique named file? # Interrupted or IO exception, maybe writing to non-unique named file?
com/sun/net/httpserver/bugs/B6373555.java generic-all com/sun/net/httpserver/bugs/B6373555.java generic-all
# Dies on pretty much all platforms when run with -ea -esa, Assertion error
java/net/CookieHandler/TestHttpCookie.java generic-all
java/net/URLClassLoader/closetest/CloseTest.java generic-all
# Fails on OpenSolaris, BindException unexpected # Fails on OpenSolaris, BindException unexpected
java/net/BindException/Test.java generic-all java/net/BindException/Test.java generic-all
......
...@@ -48,7 +48,6 @@ public class TestHttpCookie { ...@@ -48,7 +48,6 @@ public class TestHttpCookie {
} }
TestHttpCookie(String cHeader) { TestHttpCookie(String cHeader) {
assert cHeader != null;
this.cHeader = cHeader; this.cHeader = cHeader;
try { try {
......
...@@ -34,7 +34,6 @@ ...@@ -34,7 +34,6 @@
import java.io.*; import java.io.*;
import java.net.*; import java.net.*;
import java.lang.reflect.*; import java.lang.reflect.*;
import java.util.concurrent.*;
import com.sun.net.httpserver.*; import com.sun.net.httpserver.*;
public class CloseTest { public class CloseTest {
...@@ -107,7 +106,6 @@ public class CloseTest { ...@@ -107,7 +106,6 @@ public class CloseTest {
} else { } else {
copyFile (new File (src, f), new File (dst, f)); copyFile (new File (src, f), new File (dst, f));
} }
assert false;
} }
} }
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册