On 27/08/2018 18:49, Jonathan Gibbons wrote:
This will only work for URL objects returned by getResource. If you create the URL by other means, and without specifying the URLStreamHandler, then the URL constructor will fail as the protocol won't be known.Alan,It looks like we don't even need to register a URLStreamHandlerProvider, we can provide the URLStreamHandler when we create the URL. :-)
-Alan.