Ticket #29 (assigned defect)

Opened 1 year ago

Last modified 2 months ago

JRuby cannot run the pure ruby version of EM 0.12 (with minor patch)

Reported by: cremes Assigned to: raggi (accepted)
Priority: trivial Milestone:
Keywords: jruby argumenterror for_fd pure_ruby Cc:

Description

JRuby fails to run the example echo server when in pure_ruby mode. Attached is a tarball with 1) the example app em.rb, 2) a small patch so 0.12 correctly runs in pure ruby mode, and 3) the output from running #1.

Essentially, it raises an ArgumentError? for IO.for_fd complaining that 1 argument was passed when 3 were expected.

This is likely a bug in JRuby 1.1.2 since it works fine under MatzRuby? 1.8.6 p111. A related ticket has been opened with the jruby folks (JRUBY-2687).

Attachments

em_jruby.tgz (1.5 kB) - added by cremes on 06/20/08 11:35:38.

Change History

06/20/08 11:35:38 changed by cremes

  • attachment em_jruby.tgz added.

06/20/08 17:55:52 changed by raggi

  • priority changed from major to trivial.

Patch accepted. Definately an arity difference with for_fd, will downgrade priority to trivial until further notice from jruby.

07/25/08 10:03:46 changed by raggi

  • status changed from new to assigned.

According the the JRuby ticket, Charles fixed / implemented for_fd, Chuck did this close this specific case?

Ticket accepted, want to close this one if possible.

03/17/09 02:32:47 changed by careo

  • summary changed from JRuby caanot run the pure ruby version of EM 0.12 (with minor patch) to JRuby cannot run the pure ruby version of EM 0.12 (with minor patch).