Calling Module.start resolves to org.jruby.RubyGC#start.
--------------------------------------------------------
Key: JRUBY-2388
URL: http://jira.codehaus.org/browse/JRUBY-2388
Project: JRuby
Issue Type: Bug
Affects Versions: JRuby 1.1, JRuby 1.1+
Reporter: Martin Krauskopf
Assignee: Thomas E Enebo
Priority: Critical
{{ruby -e 'Kernel.start'}}
=> -e:1: undefined method `start' for Kernel:Module (NoMethodError)
{{jruby -e 'Kernel.start'}}
=> RubyGC#start is called
Likely will be solved by fixing above behaviour. This also does not work then:
{code}
module Debugger; end
module Kernel
def start; puts 'hey'; end
end
Debugger.start
{code}
Under MRI prints 'hey', under JRuby calls RubyGC#start. Similarly for
{{RubyGC#enable}} and {{RubyGC#disable}}.
This causes problem to jruby-debug-base and might be generally relatively hard
to track down in already existing complex (under MRI working) code (priority ->
critical)
--
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