Details
-
Type:
Bug
-
Status:
Closed
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: None
-
Fix Version/s: JRuby 1.1b1
-
Component/s: None
-
Labels:None
-
Number of attachments :
Description
There's some confusion about which Java methods should be redefined/rebound for each of the equality methods. For example, RubyKernel defines ==, eql?, and equal? all to map to obj_equal, and === maps to equal. However Fixnum maps == to an overridden implementation of equal, which calls super.equal. This is incorrect behavior. We need to ensure that all the equality methods map to the correct Java methods, and that we're overriding the right ones in every case.
Issue Links
| This issue is depended upon by: | ||||
| JRUBY-540 | test/ruby/test_settracefunc failures |
|
|
|
Marcin's comparison script shows a few differences: