Socket#accept_nonblock unconditionally raises Errno::EAGAIN
-----------------------------------------------------------
Key: JRUBY-5610
URL: http://jira.codehaus.org/browse/JRUBY-5610
Project: JRuby
Issue Type: Bug
Affects Versions: JRuby 1.6
Environment: Java 1.6.0_22 (64-bit) on both Mac OS X 10.6.6 (Snow
Leopard) and Ubuntu 10.10 (Maverick Meerkat)
jruby 1.6.0 (ruby 1.8.7 patchlevel 330) (2011-03-15 f3b6154) (Java HotSpot(TM)
64-Bit Server VM 1.6.0_22) [darwin-x86_64-java]
jruby 1.6.0 (ruby 1.8.7 patchlevel 330) (2011-03-15 f3b6154) (Java HotSpot(TM)
64-Bit Server VM 1.6.0_22) [linux-amd64-java]
Reporter: Dwayne Litzenberger
Assignee: Thomas E Enebo
Attachments: accept_nonblock_test.rb
Socket#accept_nonblock doesn't work at all in JRuby 1.6.0. It simply raises
Errno::EAGAIN whether or not there is a new connection.
I've attached a test case that passes under both MRI 1.8.7 and JRuby 1.5.6, but
fails under JRuby 1.6.0.
--
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