[ 
https://issues.apache.org/jira/browse/AXIS2-5729?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14964224#comment-14964224
 ] 

Hudson commented on AXIS2-5729:
-------------------------------

SUCCESS: Integrated in axis2-1.6 #370 (See 
[https://builds.apache.org/job/axis2-1.6/370/])
AXIS2-5729: Merge r1352428 and r1709481 to the 1.6 branch. (veithen: rev 
1709487)
* axis2
* 
axis2/modules/kernel/src/org/apache/axis2/classloader/DirectoryResourceHandle.java
* 
axis2/modules/kernel/src/org/apache/axis2/classloader/DirectoryResourceLocation.java
* 
axis2/modules/kernel/src/org/apache/axis2/classloader/JarFileUrlConnection.java
* 
axis2/modules/kernel/src/org/apache/axis2/classloader/JarFileUrlStreamHandler.java
* axis2/modules/kernel/src/org/apache/axis2/classloader/UrlResourceFinder.java
* axis2/modules/kernel/src/org/apache/axis2/deployment/DeploymentEngine.java
* axis2/modules/kernel/src/org/apache/axis2/deployment/ModuleDeployer.java
* axis2/modules/kernel/src/org/apache/axis2/deployment/POJODeployer.java
* axis2/modules/kernel/src/org/apache/axis2/deployment/RepositoryListener.java
* axis2/modules/kernel/src/org/apache/axis2/deployment/ServiceDeployer.java
* 
axis2/modules/kernel/src/org/apache/axis2/deployment/repository/util/DeploymentFileData.java
* axis2/modules/kernel/src/org/apache/axis2/deployment/util/Utils.java
* 
axis2/modules/kernel/test/org/apache/axis2/classloader/JarFileClassLoaderTest.java


> 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