changeset 17941:1bf9feb6cdea

8014723: sun/misc/URLClassPath/ClassnameCharTest.java failing Reviewed-by: alanb, chegar
author michaelm
date Tue, 04 Jun 2013 10:56:58 +0100
parents 83ad0032c657
children f96320cd52dd
files jdk/src/share/classes/java/net/HttpURLPermission.java jdk/test/ProblemList.txt
diffstat 2 files changed, 1 insertions(+), 7 deletions(-) [+]
line wrap: on
line diff
--- 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