DATA can not be flocked
-----------------------
Key: JRUBY-3371
URL: http://jira.codehaus.org/browse/JRUBY-3371
Project: JRuby
Issue Type: Bug
Components: Core Classes/Modules
Affects Versions: JRuby 1.1.6
Reporter: Charles Oliver Nutter
Currently we present DATA as a File, but it's not actually flockable like MRI.
This may or may not be a difference anyone cares about, but it causes some spec
failures (because DATA does appear to be a real File in MRI).
{noformat}
1)
DATA.flock succeeds in locking the file DATA came from FAILED
Expected "false"
to equal "0"
../rubyspec/core/io/data/flock_spec.rb:10
../rubyspec/core/io/data/flock_spec.rb:3
../rubyspec/core/io/data/flock_spec.rb:54:in `load'
{noformat}
--
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