7198205: CloseTest fails on mac
authorweijun
Mon, 17 Sep 2012 17:19:50 +0800
changeset 13807 891c888389c9
parent 13806 b18118646a65
child 13808 ad4ecc16c5ea
7198205: CloseTest fails on mac Reviewed-by: alanb, chegar, michaelm
jdk/test/ProblemList.txt
jdk/test/java/net/URLClassLoader/closetest/CloseTest.java
--- a/jdk/test/ProblemList.txt	Sun Sep 16 13:29:25 2012 -0700
+++ b/jdk/test/ProblemList.txt	Mon Sep 17 17:19:50 2012 +0800
@@ -216,11 +216,6 @@
 sun/net/www/protocol/http/B6299712.java                         macosx-all
 java/net/CookieHandler/CookieManagerTest.java                   macosx-all
 
-# 7164518
-sun/security/krb5/auto/Unreachable.java                         macosx-all
-
-# JPRT needs to set 127.0.0.1 in proxy bypass list
-java/net/URLClassLoader/closetest/CloseTest.java                macosx-all
 ############################################################################
 
 # jdk_io
@@ -277,6 +272,9 @@
 
 # jdk_security
 
+# 7164518: no PortUnreachableException on Mac
+sun/security/krb5/auto/Unreachable.java                         macosx-all
+
 # 7193792
 sun/security/pkcs11/ec/TestECDSA.java				solaris-all
 sun/security/pkcs11/ec/TestECDSA.java				linux-all
--- a/jdk/test/java/net/URLClassLoader/closetest/CloseTest.java	Sun Sep 16 13:29:25 2012 -0700
+++ b/jdk/test/java/net/URLClassLoader/closetest/CloseTest.java	Mon Sep 17 17:19:50 2012 +0800
@@ -128,7 +128,7 @@
         // load tests
         loadClass ("com.foo.TestClass1", loader, false);
         loadClass ("com.foo.TestClass", loader, true);
-        loadClass ("java.awt.Button", loader, true);
+        loadClass ("java.sql.Array", loader, true);
 
         // now check we can delete the path
         rm_minus_rf (new File(name));