-
-
Notifications
You must be signed in to change notification settings - Fork 925
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
creating a directory via uri-like path 'uri:classloader://new_dir' acts wrongly #2972
Comments
This issue is causing failing some tests in Lotus::Model -> https://travis-ci.org/lotus/model/jobs/63672086 It fails on the following uri |
@deepj I am bit surprised to see the file:// protocol since jruby-9k kind of uri:classloader:// internally. but of course your should work as well and it fits this issue ;) |
:) |
Hm :) Any news about this? This blocks me a bit from moving far in investigation what yet doesn't work with Lotus and JRuby 9k. I mean my case mainly :) |
will find some time for this tomorrow . . .
|
👍 Thanks! |
* there was a problem with file:////path/to/dir where the extra slashes did confuse the logic * all pathes starting with uri: can not create any directories fixes #2972 Sponsored by Lookout Inc.
@deepj pushed it to jruby-1_7 once this is green I merge it to master and close issue |
a classloader or classpath is not associated to single "path" and might not even have any path on filesystem.
just a few examples:
same with Dir
and with mkdir_p things are different:
which just creates a something on the filesystem.
using the runnable.jar from this integration test
behaves slightly different:
some exception with
Dir.mkdir
orFileUtils.mkdir
all this happens even if
The text was updated successfully, but these errors were encountered: