Pure-Java version of lstat doesn't fail on non-existing file
------------------------------------------------------------

                 Key: JRUBY-2214
                 URL: http://jira.codehaus.org/browse/JRUBY-2214
             Project: JRuby
          Issue Type: Bug
          Components: Core Classes/Modules
    Affects Versions: JRuby 1.1RC2
         Environment: JRuby 1.1RC2, Linux, Windows
            Reporter: Vladimir Sizikov
             Fix For: JRuby 1.1


Pure Java lstat accepts non-existing files:

jruby -J-Djruby.native.enabled=false  -e "p File.lstat('doesnt-exist').size"

But, with native:
jruby -J-Djruby.native.enabled=true  -e "p File.lstat('doesnt-exist').size"
-e:1: No such file or directory - No such file or directory - 
/opt/work/jruby.git/doesnt-exist (Errno::ENOENT)

-- 
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


Reply via email to