6935199: java/net regression tests failing with Assertions
authorchegar
Tue, 16 Mar 2010 14:31:57 +0000
changeset 5152 a95085d9fe62
parent 5151 e62028f44cf6
child 5153 8b10c5dccd73
6935199: java/net regression tests failing with Assertions Reviewed-by: michaelm
jdk/test/ProblemList.txt
jdk/test/java/net/CookieHandler/TestHttpCookie.java
jdk/test/java/net/URLClassLoader/closetest/CloseTest.java
--- a/jdk/test/ProblemList.txt	Tue Mar 16 10:05:51 2010 +0000
+++ b/jdk/test/ProblemList.txt	Tue Mar 16 14:31:57 2010 +0000
@@ -596,10 +596,6 @@
 #   Interrupted or IO exception, maybe writing to non-unique named file?
 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 
 java/net/BindException/Test.java				generic-all
 
--- a/jdk/test/java/net/CookieHandler/TestHttpCookie.java	Tue Mar 16 10:05:51 2010 +0000
+++ b/jdk/test/java/net/CookieHandler/TestHttpCookie.java	Tue Mar 16 14:31:57 2010 +0000
@@ -48,7 +48,6 @@
     }
 
     TestHttpCookie(String cHeader) {
-        assert cHeader != null;
         this.cHeader = cHeader;
 
         try {
--- a/jdk/test/java/net/URLClassLoader/closetest/CloseTest.java	Tue Mar 16 10:05:51 2010 +0000
+++ b/jdk/test/java/net/URLClassLoader/closetest/CloseTest.java	Tue Mar 16 14:31:57 2010 +0000
@@ -34,7 +34,6 @@
 import java.io.*;
 import java.net.*;
 import java.lang.reflect.*;
-import java.util.concurrent.*;
 import com.sun.net.httpserver.*;
 
 public class CloseTest {
@@ -107,7 +106,6 @@
             } else {
                 copyFile (new File (src, f), new File (dst, f));
             }
-            assert false;
         }
     }