JRuby

IO#read_nonblock always raises Errno::EAGAIN: Resource temporarily unavailable