IO.read_nonblock should raise Errno::EAGAIN if there is no immediate data
-------------------------------------------------------------------------
Key: JRUBY-4336
URL: http://jira.codehaus.org/browse/JRUBY-4336
Project: JRuby
Issue Type: Bug
Components: Core Classes/Modules
Affects Versions: JRuby 1.4
Environment: latest jruby
Reporter: Vladimir Sizikov
Assignee: Vladimir Sizikov
Fix For: JRuby 1.5
Rubyspec failure:
{noformat}
mspec -t j core/io/read_nonblock_spec.rb
jruby 1.5.0.dev (ruby 1.8.7 patchlevel 174) (2009-12-09 c260f9c) (Java
HotSpot(TM) Client VM 1.6.0_03) [i386-java]
F....
1)
IO#read_nonblock raises EAGAIN when there is no data FAILED
Expected Errno::EAGAIN but no exception was raised
/opt/work/rubyspec.git/core/io/read_nonblock_spec.rb:15
/opt/work/rubyspec.git/core/io/read_nonblock_spec.rb:4
/opt/work/rubyspec.git/core/io/read_nonblock_spec.rb:55:in `load'
/opt/work/mspec.git/bin/mspec-ci:8
{noformat}
Will fix.
--
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