Enumerable module's member? method doesn't call overridden == method
---------------------------------------------------------------------
Key: JRUBY-2501
URL: http://jira.codehaus.org/browse/JRUBY-2501
Project: JRuby
Issue Type: Bug
Components: Core Classes/Modules
Affects Versions: JRuby 1.1.1, JRuby 1.1RC1, JRuby 1.0.3
Reporter: K Venkatasubramaniyan
Priority: Critical
Attachments: jruby-memberof.rb
Enumerable module's member? method should call the == method of the containing
objects. When those methods are overridden in a class, the overridden method
should be invoked.
This works properly in MRI 1.8.6 however in JRuby overridden method's are not
called.
Please look at the attached example code to reproduce the problem.
--
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