[
https://issues.apache.org/jira/browse/AXIS2-5729?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Andreas Veithen resolved AXIS2-5729.
------------------------------------
Resolution: Fixed
Assignee: Andreas Veithen
Fix Version/s: 1.6.4
1.7.0
> 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
> Assignee: Andreas Veithen
> Fix For: 1.7.0, 1.6.4
>
>
> 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]