diff --git a/src/share/classes/java/net/HttpURLPermission.java b/src/share/classes/java/net/HttpURLPermission.java index 52d6e79344a776ad15b70a0b738e3ba29dd266c3..55d37fda8ca2d7a54e0370d8eda697dbf5fb672d 100644 --- a/src/share/classes/java/net/HttpURLPermission.java +++ b/src/share/classes/java/net/HttpURLPermission.java @@ -377,7 +377,7 @@ public final class HttpURLPermission extends Permission { 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; } diff --git a/test/ProblemList.txt b/test/ProblemList.txt index 5a1dc7dc575ffa1ee2bf14dd4eb1d40f1d9d1273..0937feb3ac3c9754f69d7c2eb9aa39c3c144018e 100644 --- a/test/ProblemList.txt +++ b/test/ProblemList.txt @@ -196,12 +196,6 @@ java/net/MulticastSocket/Test.java macosx-all # 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