Victor created AXIS2-5729:
-----------------------------

             Summary: JarFileClassLoader can't handle URLs with spaces
                 Key: AXIS2-5729
                 URL: https://issues.apache.org/jira/browse/AXIS2-5729
             Project: Axis2
          Issue Type: Bug
          Components: kernel
    Affects Versions: 1.6.3
            Reporter: Victor


Hi,

When creating a JarFileClassLoader with URLs built from File with spaces (using 
File#toURI().toURL(), so that the spaces are correctly handled up to the point 
we have an URL), then UrlResourceFinder#rebuildClassPath() will then transform 
these URLs back to File but will fail to transform them properly when they 
contains spaces.

I think the proper way to convert an URL to a File is to call new 
File(url.toURI()) and not simply new File(url.getPath)!



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

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

Reply via email to