提交 79130109 编写于 作者: M michaelm

8014723: sun/misc/URLClassPath/ClassnameCharTest.java failing

Reviewed-by: alanb, chegar
上级 8918ff6d
...@@ -377,7 +377,7 @@ public final class HttpURLPermission extends Permission { ...@@ -377,7 +377,7 @@ public final class HttpURLPermission extends Permission {
throw new IllegalArgumentException ("unexpected URL scheme"); throw new IllegalArgumentException ("unexpected URL scheme");
} }
if (!u.getSchemeSpecificPart().equals("*")) { if (!u.getSchemeSpecificPart().equals("*")) {
u = URI.create(scheme + "://" + u.getAuthority() + u.getPath()); u = URI.create(scheme + "://" + u.getRawAuthority() + u.getRawPath());
} }
return u; return u;
} }
......
...@@ -196,12 +196,6 @@ java/net/MulticastSocket/Test.java macosx-all ...@@ -196,12 +196,6 @@ java/net/MulticastSocket/Test.java macosx-all
# 7143960 # 7143960
java/net/DatagramSocket/SendDatagramToBadAddress.java macosx-all java/net/DatagramSocket/SendDatagramToBadAddress.java macosx-all
# 8014720
java/net/ResponseCache/B6181108.java generic-all
# 8014723
sun/misc/URLClassPath/ClassnameCharTest.java generic-all
# 8014719 # 8014719
sun/net/www/http/HttpClient/ProxyTest.java generic-all sun/net/www/http/HttpClient/ProxyTest.java generic-all
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册