jlahoda opened a new pull request #2988:
URL: https://github.com/apache/netbeans/pull/2988


   This is unfortunately a little bit involved. On Windows, one can have paths 
like `\\wsl$\Ubuntu-20.04\` (pointing to a Linux instance running in WSL). 
`java.nio.Path`s based on paths like this work normally, but NetBeans' 
FileObjects can't convert them to URIs. `java.nio.Path` will produce URIs like 
`file:////wsl$/Ubuntu-20.04/` for this path, and this patch fixes FileObjects 
to produce URIs like this.
   
   The issue with these URIs is that `URI.normalize` will normalize them to 
`file:/wsl$/Ubuntu-20.04/` which no longer works. So this patch introduces 
`BaseUtilities.normalizeURI`, which should be used instead of 
`URI.normalize()`, and updates NetBeans to use the new method.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
[email protected]



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists

Reply via email to