changeset 2358:895a1211b2e1

6935199: java/net regression tests failing with Assertions Reviewed-by: michaelm
author chegar
date Tue, 16 Mar 2010 14:31:57 +0000
parents f88f6f8ddd21
children 0500f7306cbe
files test/ProblemList.txt test/java/net/CookieHandler/TestHttpCookie.java test/java/net/URLClassLoader/closetest/CloseTest.java
diffstat 3 files changed, 0 insertions(+), 7 deletions(-) [+]
line wrap: on
line diff
--- a/test/ProblemList.txt	Tue Mar 16 10:05:51 2010 +0000
+++ b/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/test/java/net/CookieHandler/TestHttpCookie.java	Tue Mar 16 10:05:51 2010 +0000
+++ b/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/test/java/net/URLClassLoader/closetest/CloseTest.java	Tue Mar 16 10:05:51 2010 +0000
+++ b/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;
         }
     }