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

Alan Bateman Alan.Bateman at oracle.com
Fri May 31 04:44:07 PDT 2013


On 30/05/2013 17:49, Michael McMahon wrote:
>
> http://cr.openjdk.java.net/~michaelm/8014723/webrev.1/
>
> regression caused by the HttpURLPermission implemenation not using
> the raw URI accessor methods. Some other changes are coming
> to this class, but I just want to fix this problem separately.
>
> Thanks
> Michael
>
I think looks fine. An alternative would be to just use the 5-arg 
constructor like this:

u = new URI(scheme, u.getAuthority(), u.getPath(), null, null);

but requires handling the checked URISyntaxExceptin so what you have is 
probably neater.

-Alan.



More information about the net-dev mailing list