8014723: sun/misc/URLClassPath/ClassnameCharTest.java failing
authormichaelm
Tue, 04 Jun 2013 10:56:58 +0100
changeset 17941 1bf9feb6cdea
parent 17940 83ad0032c657
child 17942 f96320cd52dd
8014723: sun/misc/URLClassPath/ClassnameCharTest.java failing Reviewed-by: alanb, chegar
jdk/src/share/classes/java/net/HttpURLPermission.java
jdk/test/ProblemList.txt
--- a/jdk/src/share/classes/java/net/HttpURLPermission.java	Tue Jun 04 11:53:31 2013 +0200
+++ b/jdk/src/share/classes/java/net/HttpURLPermission.java	Tue Jun 04 10:56:58 2013 +0100
@@ -377,7 +377,7 @@
             throw new IllegalArgumentException ("unexpected URL scheme");
         }
         if (!u.getSchemeSpecificPart().equals("*")) {
-            u = URI.create(scheme + "://" + u.getAuthority() + u.getPath());
+            u = URI.create(scheme + "://" + u.getRawAuthority() + u.getRawPath());
         }
         return u;
     }
--- a/jdk/test/ProblemList.txt	Tue Jun 04 11:53:31 2013 +0200
+++ b/jdk/test/ProblemList.txt	Tue Jun 04 10:56:58 2013 +0100
@@ -196,12 +196,6 @@
 # 7143960
 java/net/DatagramSocket/SendDatagramToBadAddress.java            macosx-all
 
-# 8014720
-java/net/ResponseCache/B6181108.java                             generic-all
-
-# 8014723
-sun/misc/URLClassPath/ClassnameCharTest.java                     generic-all
-
 # 8014719
 sun/net/www/http/HttpClient/ProxyTest.java                       generic-all