Skip to content
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

Change to use FileResource to get entries for RubyDir #1526

merged 2 commits into from Mar 3, 2014


Copy link

@ratnikov ratnikov commented Feb 23, 2014

This might fix #1100 although I haven't verified this yet.

ratnikov added 2 commits Feb 23, 2014
Current jar Dir.entries implementation doesn't return "." and ".." so to keep this behavior in 1.7,
I've moved the "." and ".." addition logic to RegularFileResource. Unfortunately fixing the jar files to
support such behavior would require and invasive refactor of File/Dir implementations to be able to support
expanding '..' in jar file names.
Copy link
Contributor Author

@ratnikov ratnikov commented Mar 2, 2014

This PR replaces using JarFile directly from RubyDir in favor of using file resources. It is ready for merge.

enebo added a commit that referenced this pull request Mar 3, 2014
Change to use FileResource to get entries for RubyDir (will follow up to re-add the non-TC initialize methods for backwards compat)
@enebo enebo merged commit c1f333b into jruby:jruby-1_7 Mar 3, 2014
1 check failed
1 check failed
default The Travis CI build could not complete due to an error
@enebo enebo added this to the JRuby 1.7.12 milestone Apr 15, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
None yet
None yet
Linked issues

Successfully merging this pull request may close these issues.

None yet

2 participants