7003155: (fs) Paths.get(<file-uri>) does not handle escaped octets correctly

Alan Bateman Alan.Bateman at oracle.com
Mon Nov 29 08:27:38 PST 2010


The code for converting URIs to Paths in the Solaris/Linux file system 
provider is not correct. It's using the decoded path component of the 
URI (ie: de-quoted) and so must be converted from UTF-8. The webrev with 
the change is here:
  http://cr.openjdk.java.net/~alanb/7003155/webrev/

Thanks,
Alan.


More information about the nio-dev mailing list