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

[GH-1726] - File.read should raise an Errno::ENOENT when the file is an empty String #1731

Merged
merged 1 commit into from Jun 14, 2014

Commits on Jun 8, 2014

  1. [jrubyGH-1726] - File.read should raise an Errno::ENOENT when the fil…

    …e is an empty String.
    
    File.read it's currently raising EncodingUtils.java:597:in `encAscget':
    java.lang.ArrayIndexOutOfBoundsException: 0
    
    But it should raise an Errno::ENOENT to keep the MRI compatibility.
    lucasallan committed Jun 8, 2014
    Copy the full SHA
    e51aaad View commit details
    Browse the repository at this point in the history