Can't find files when their absolute path contains a space

Description

The URLClassloader getURLs call is returning URLs that contain %20 instead of spaces. The current code calls .getPath, which leaves the %20 in there and ultimately can't find the directory. Changing the .getPath call to .toURI calls a different java.io.File constructor and fixed the problem for me.

Environment

None

Activity

Show:
Stuart Sierra
January 10, 2014, 5:26 PM

Mark old resolved issues as 'closed'

Stuart Sierra
December 13, 2013, 3:22 PM

Applied in commit 8f116ba8c6944acc347cba97db0244e247021016

Completed
Your pinned fields
Click on the next to a field label to start pinning.

Assignee

Stuart Sierra

Reporter

Ryan Senior

Patch

Code