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

[Truffle] Methods like File.readable? don't work on stdlib files in a JAR #3400

Closed
chrisseaton opened this issue Oct 17, 2015 · 3 comments
Closed
Milestone

Comments

@chrisseaton
Copy link
Contributor

IRB does this to load locale information, for example. Means we always need to keep the stdlib in the FS rather than in a JAR.

@chrisseaton chrisseaton added this to the truffle-dev milestone Oct 17, 2015
@eregon
Copy link
Member

eregon commented Oct 18, 2015

I think JRuby might solve this by making File.readable? JAR-aware.
But some stuff really needs the files like file locks.

@chrisseaton
Copy link
Contributor Author

I think we could probably implement as a special-case what we need for stdlib, but not in general support the contents of JAR files for all file operations.

@chrisseaton chrisseaton modified the milestones: Won't Fix, truffle-dev Aug 13, 2016
@chrisseaton
Copy link
Contributor Author

Closing as won't-fix. We have no immediate plans to support reading files from JAR files. When it becomes clear it's important for existing JRuby applications that we're trying to run, we can reconsider.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants