Process.respond_to?(:fork) must return false
--------------------------------------------
Key: JRUBY-5729
URL: http://jira.codehaus.org/browse/JRUBY-5729
Project: JRuby
Issue Type: Bug
Components: Core Classes/Modules, RubySpec
Affects Versions: JRuby 1.6.1
Environment: jruby 1.6.1 (ruby-1.8.7-p330) (2011-04-12 85838f6)
(OpenJDK 64-Bit Server VM 1.6.0_22) [linux-amd64-java]
Reporter: Suraj Kurapati
Priority: Minor
`ri fork` says "If fork is not usable, Process.respond_to?(:fork) returns
false."
JRuby 1.6.1 does not follow that specification:
$ jirb
>> Process.respond_to? :fork
true
>> fork { puts 1 }
NotImplementedError: fork is not available on this platform
from org/jruby/RubyKernel.java:1758:in `fork'
--
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