Skip to content

Fix compare_to for to_java'ed Ruby objects#1626

Merged
enebo merged 1 commit intojruby:jruby-1_7from
dmarcotte:test-compare-to
Apr 14, 2014
Merged

Fix compare_to for to_java'ed Ruby objects#1626
enebo merged 1 commit intojruby:jruby-1_7from
dmarcotte:test-compare-to

Conversation

@dmarcotte
Copy link
Contributor

Flip incorrect nil check which was resulting in #compare_to always returning 0 for many to_java'ed Ruby objects (anything not internally represented by a class which overrides RubyBasicObject#compareTo)

Fixes #1520

Flip incorrect nil check which was resulting in #compare_to always
returning 0 for many to_java'ed Ruby objects (anything not internally
represented by a class which overrides RubyBasicObject#compareTo)
enebo added a commit that referenced this pull request Apr 14, 2014
Fix compare_to for to_java'ed Ruby objects
@enebo enebo merged commit 93c81b3 into jruby:jruby-1_7 Apr 14, 2014
@enebo enebo added this to the JRuby 1.7.12 milestone Apr 14, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants