wrong exception thrown when reading a chdir in windows
------------------------------------------------------
Key: JRUBY-5118
URL: http://jira.codehaus.org/browse/JRUBY-5118
Project: JRuby
Issue Type: Bug
Environment: jruby 1.5.2 (ruby 1.8.7 patchlevel 249) (2010-08-20
1c5e29d) (Java HotSpot(TM) Client VM 1.6.0_18) [x86-java]
Reporter: Roger Pack
Assignee: Thomas E Enebo
Priority: Minor
When you are in folder x, and
x/all.dgs exists, and folder x/output exists
the following code:
Dir.chdir 'output'
File.read('all.dgs')
results in an "Errno::ENOENT: No such file or directory" in MRI, but an
"Errno::EACCES: Permission denied - all.dgs" in jruby, which was unexpected.
Thanks!
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.codehaus.org/secure/Administrators.jspa
-
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