On 2009-03-06, sebb <seb...@gmail.com> wrote: > On 06/03/2009, Stefan Bodewig <bode...@apache.org> wrote: >> On 2009-03-06, sebb <seb...@gmail.com> wrote:
>>> Adding back the .getClassLoader() stage improves matters, >> That really isn't supposed to make any difference, strange. > Class.getResource() makes these changes to the resource name: > "if the resource name starts with "/", it is unchanged; otherwise, the > package name is prepended to the resource name after converting "." to > "/". " > ClassLoader.getResource() does not do this. I knew that (but assumed the path names were startng with a slash), it shouldn't make any difference WRT whitespace was what I meant. Sorry I was unclear Stefan --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@commons.apache.org For additional commands, e-mail: dev-h...@commons.apache.org