Skip to content

Soften this restriction to just readable resources.#3902

Merged
headius merged 1 commit intojruby:jruby-1_7from
headius:soften_script_test
May 26, 2016
Merged

Soften this restriction to just readable resources.#3902
headius merged 1 commit intojruby:jruby-1_7from
headius:soften_script_test

Conversation

@headius
Copy link
Member

@headius headius commented May 18, 2016

Additional fix for issue exposed by #3901. Devices, like ttys,
pipes, fifos and the like may be neither file nor symlink, but
still readable as script source. The restriction here is
unnecessary.

Ping @mkristian... I softened this test but I'm not sure why it was so restrictive in the first place. Is this change ok?

Additional fix for issue exposed by jruby#3901. Devices, like ttys,
pipes, fifos and the like may be neither file nor symlink, but
still readable as script source. The restriction here is
unnecessary.
@mkristian
Copy link
Member

@headius looks ok to me. do not remember the details, but was something like a directory path as resource.

@danini-the-panini
Copy link
Contributor

@headius @mkristian I have tested with a directory, it passes canRead and then throws at inputStream. See #4100

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants