RFR: 8029354: URLPermission.<init> throws llegalArgumentException: Invalid characters in hostname
Michael McMahon
michael.x.mcmahon at oracle.com
Fri Nov 29 09:06:41 PST 2013
Hi,
java.net.URLPermission does not currently take account of the "userinfo"
component
in the authority of a URL. So, it does not accept URLs of the form
"http://username@host/blah"
http://cr.openjdk.java.net/~michaelm/8029354/webrev.1/
which includes a small spec change to account for this. Userinfo needs
to be case-sensitive
for comparison, hashCode() etc.
Thanks,
Michael
More information about the net-dev
mailing list