![]() |
|
|
Issue Type:
|
Bug
|
Assignee:
|
Thomas E Enebo
|
Created:
|
12/Jul/12 4:24 PM
|
Description:
|
Basically, if you are in directory "a", and have subdirectory "b", like
a/b
and also file a/filename
Then the following should occur:
>> Dir.chdir 'b'
>> File.read('filename')
Errno::ENOENT: No such file or directory - filename
...
however, in jruby you get this instead:
>> Dir.chdir 'b'
>> File.read('filename')
Errno::EACCES: Permission denied - filename
...
(wrong exception class).
|
Environment:
|
"jruby 1.6.7.2 (ruby-1.8.7-p357) (2012-05-01 26e08ba) (Java HotSpot(TM) Client VM 1.6.0_33) [Windows 7-x86-java]"
|
Project:
|
JRuby
|
Priority:
|
Major
|
Reporter:
|
Roger Pack
|
|
|
|
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira
|
---------------------------------------------------------------------
To unsubscribe from this list, please visit:
http://xircles.codehaus.org/manage_email