[jira] Assigned: (XBEAN-109) org.apache.xbean.classloader.JarFileClassLoader can not handle pathnames with containing spaces
[ https://issues.apache.org/jira/browse/XBEAN-109?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Ivan reassigned XBEAN-109: -- Assignee: Ivan org.apache.xbean.classloader.JarFileClassLoader can not handle pathnames with containing spaces Key: XBEAN-109 URL: https://issues.apache.org/jira/browse/XBEAN-109 Project: XBean Issue Type: Bug Components: classloader Environment: jdk1.6, Windows 2000 Latest version from SVN Reporter: Ingo Bormann Assignee: Ivan Attachments: xbean.diff A lot of classes in the package org.apache.xbean.classloader use File.toURL() instead of File.toURI().toURL(). File.toURL() is deprecated and does not work on windows with pathnames containing spaces. If a pathname contains spaces then File.toURL() does not convert spaces correctly. Javadoc recommends to use File.toURI().toURL() instead. I have a patched version where this is fixed for the full package org.apache.xbean.classloader. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.
[jira] Commented: (XBEAN-109) org.apache.xbean.classloader.JarFileClassLoader can not handle pathnames with containing spaces
[ https://issues.apache.org/jira/browse/XBEAN-109?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12711152#action_12711152 ] Ivan commented on XBEAN-109: Merge the patch to XBean trunk at rev 776705. Thanks Ingo Bormann for the patch ! org.apache.xbean.classloader.JarFileClassLoader can not handle pathnames with containing spaces Key: XBEAN-109 URL: https://issues.apache.org/jira/browse/XBEAN-109 Project: XBean Issue Type: Bug Components: classloader Environment: jdk1.6, Windows 2000 Latest version from SVN Reporter: Ingo Bormann Assignee: Ivan Attachments: xbean.diff A lot of classes in the package org.apache.xbean.classloader use File.toURL() instead of File.toURI().toURL(). File.toURL() is deprecated and does not work on windows with pathnames containing spaces. If a pathname contains spaces then File.toURL() does not convert spaces correctly. Javadoc recommends to use File.toURI().toURL() instead. I have a patched version where this is fixed for the full package org.apache.xbean.classloader. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.
[jira] Commented: (XBEAN-109) org.apache.xbean.classloader.JarFileClassLoader can not handle pathnames with containing spaces
[ https://issues.apache.org/jira/browse/XBEAN-109?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12711154#action_12711154 ] Ivan commented on XBEAN-109: Hi, just find that for XBean JIRAs, there is no resolve action. So for these JIRAs, shall I need to start a RTC view, then commit the patch files ? org.apache.xbean.classloader.JarFileClassLoader can not handle pathnames with containing spaces Key: XBEAN-109 URL: https://issues.apache.org/jira/browse/XBEAN-109 Project: XBean Issue Type: Bug Components: classloader Environment: jdk1.6, Windows 2000 Latest version from SVN Reporter: Ingo Bormann Assignee: Ivan Attachments: xbean.diff A lot of classes in the package org.apache.xbean.classloader use File.toURL() instead of File.toURI().toURL(). File.toURL() is deprecated and does not work on windows with pathnames containing spaces. If a pathname contains spaces then File.toURL() does not convert spaces correctly. Javadoc recommends to use File.toURI().toURL() instead. I have a patched version where this is fixed for the full package org.apache.xbean.classloader. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.