Fix compare_to for to_java'ed Ruby objects #1626

Merged
merged 1 commit into from Apr 14, 2014

Projects

None yet

2 participants

@dmarcotte
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

@dmarcotte dmarcotte Fix compare_to for to_java'ed Ruby objects
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)
bfb2683
@enebo enebo merged commit 93c81b3 into jruby:jruby-1_7 Apr 14, 2014

1 check failed

continuous-integration/travis-ci The Travis CI build failed
Details
@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