Details
-
Type:
Bug
-
Status:
Closed
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: JRuby 1.1RC2
-
Fix Version/s: JRuby 1.1
-
Component/s: Core Classes/Modules
-
Labels:None
-
Environment:JRuby 1.1RC2, Linux, Windows
-
Number of attachments :
Description
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)