Issue Details (XML | Word | Printable)

Key: XBEAN-109
Type: Bug Bug
Status: Closed Closed
Resolution: Fixed
Priority: Major Major
Assignee: Ivan
Reporter: Ingo Bormann
Votes: 0
Watchers: 0
Available Workflow Actions

Reopen Issue
Operations

If you were logged in you would be able to see more operations.
XBean

org.apache.xbean.classloader.JarFileClassLoader can not handle pathnames with containing spaces

Created: 01/Aug/08 04:15 PM   Updated: 22/Sep/09 03:49 PM
Return to search
Component/s: classloader
Affects Version/s: None
Fix Version/s: 3.6

Time Tracking:
Not Specified

File Attachments:
  Size
File Licensed for inclusion in ASF works xbean.diff 2008-08-01 04:26 PM Ingo Bormann 6 kB
Environment: jdk1.6, Windows 2000 Latest version from SVN

Resolution Date: 22/Sep/09 03:49 PM


 Description  « Hide
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.



 All   Comments   Work Log   Change History   Subversion Commits      Sort Order: Ascending order - Click to sort in descending order